From: Marius Hofert <marius.hofert@math.ethz.ch>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Why is TAB-completion in shell not working for some commands?
Date: Wed, 9 Nov 2011 10:05:49 +0100 [thread overview]
Message-ID: <FAB0DFCB-A00A-4B86-BE3E-BFF52DD3169B@math.ethz.ch> (raw)
In-Reply-To: <B05F630C-092F-4040-B070-858B8894758F@math.ethz.ch>
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]
next prev parent reply other threads:[~2011-11-09 9:05 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 19:34 Why is TAB-completion in shell not working for some commands? Marius Hofert
2011-11-09 6:43 ` Andreas Röhler
2011-11-09 6:48 ` Marius Hofert
2011-11-09 6:53 ` Andreas Röhler
2011-11-09 6:56 ` Marius Hofert
2011-11-09 7:09 ` Andreas Röhler
2011-11-09 7:13 ` Marius Hofert
2011-11-09 7:26 ` Andreas Röhler
2011-11-09 7:45 ` Marius Hofert
2011-11-09 7:54 ` Marius Hofert
2011-11-09 8:29 ` Andreas Röhler
2011-11-09 8:34 ` Marius Hofert
2011-11-09 8:41 ` Andreas Röhler
2011-11-09 8:59 ` Marius Hofert
2011-11-09 9:05 ` Marius Hofert [this message]
2011-11-11 3:03 ` Kevin Rodgers
2011-11-09 9:23 ` Andreas Röhler
2011-11-09 11:10 ` Marius Hofert
2011-11-09 13:29 ` Andreas Röhler
2011-11-09 15:28 ` PJ Weisberg
2011-11-09 17:02 ` Marius Hofert
2011-11-09 6:56 ` Andreas Röhler
[not found] <mailman.9.1320780886.798.help-gnu-emacs@gnu.org>
2011-11-09 1:34 ` Stefan Monnier
[not found] <mailman.2976.1320857313.797.help-gnu-emacs@gnu.org>
2011-11-09 17:06 ` Jonathan Oddie
2011-11-09 17:28 ` Marius Hofert
2011-11-09 17:38 ` Jonathan Oddie
2011-11-09 17:51 ` Marius Hofert
2011-11-09 18:05 ` Jonathan Oddie
2011-11-09 18:49 ` Jonathan Oddie
2011-11-09 18:52 ` Jonathan Oddie
2011-11-09 21:19 ` Marius Hofert
2011-11-09 17:46 ` Jonathan Oddie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FAB0DFCB-A00A-4B86-BE3E-BFF52DD3169B@math.ethz.ch \
--to=marius.hofert@math.ethz.ch \
--cc=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.