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

What algorithm can you use to find duplicate phrases in a string?

algorithm language-agnostic parsing

Given an arbitrary string, what is an efficient method of finding duplicate phrases? We can say that phrases must be longer than a certain length to be included.

Which is better listview usability in Android?

android

I want to add a listview in android app. In listview must to be text and picture area. Where must I put picture left from the text or right from the text for better usability?