help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is TAB-completion in shell not working for some commands?


From: Marius Hofert
Subject: Re: Why is TAB-completion in shell not working for some commands?
Date: Wed, 9 Nov 2011 10:05:49 +0100

I searched for shell.el, but couldn't find it...:

localhost:/ mhofert$ sudo find . -iname "shell" -print
Password:
find: ./dev/fd/3: Not a directory
find: ./dev/fd/4: Not a directory
./Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/shell
./Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.4/lib/net/ssh/service/shell
./Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/shell
./Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/shell
./opt/local/lib/perl5/5.12.3/CPANPLUS/Shell
./System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/shell
./System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/Shell
./System/Library/Perl/5.10/CPANPLUS/Shell
./System/Library/Perl/5.12/CPANPLUS/Shell
./System/Library/PrivateFrameworks/MacRuby.framework/Versions/A/usr/lib/ruby/1.9.2/shell
./usr/local/texlive/2011/texmf-dist/source/latex/pslatex/shell


On 2011-11-09, at 09:59 , Marius Hofert wrote:

>> 
>> so you could try same play looking for contents of
>> 
>> comint-dynamic-complete-functions
> 
> I obtain (in both cases):
> 
> comint-dynamic-complete-functions is a variable defined in `comint.el'.
> Its value is
> (comint-c-a-p-replace-by-expanded-history 
> shell-environment-variable-completion shell-command-completion 
> shell-c-a-p-replace-by-expanded-directory pcomplete-completions-at-point 
> shell-filename-completion comint-filename-completion)
> 
> Local in buffer *shell*; global value is 
> (comint-c-a-p-replace-by-expanded-history comint-filename-completion)
> 
> 
>  This variable is potentially risky when used as a file local variable.
> 
> Documentation:
> List of functions called to perform completion.
> Works like `completion-at-point-functions'.
> See also `comint-dynamic-complete'.
> 
> This is a good thing to set in mode hooks.
> 
> [back]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]