How to disable case-sensitivity for filename auto-completion in Emacs 24 shell-mode?

On upgrading from Emacs 23 to Emacs 24, filename completion suddenly became case sensitive in shell-mode. I had customized Emacs 23 to be case insensitive in this case but I forget the exact customizations now. Going over my .emacs file, I see that read-file-name-completion-ignore-case is set to non-nil. However, that seems to have no effect in Emacs 24's shell-mode.

Answers


So it turns out that shell-mode in Emacs 24 uses pcomplete by default. pcomplete was always the default for eshell but Emacs 24 has made it so for shell too.

pcomplete-ignore-case controls case sensitivity for pcomplete. I got back case insensitivity for filename autocompletion in shell-mode in Emacs 24 by adding the following to my .emacs file.

(setq pcomplete-ignore-case t)

Need Your Help

T-SQL Optimize DELETE of many records

sql sql-server tsql table sql-delete

I have a table that can grew to millions records (50 millions for example). On each 20 minutes records that are older then 20 minutes are deleted.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.