From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Emacs help <help-gnu-emacs@gnu.org>
Subject: Why is TAB-completion in shell not working for some commands?
Date: Tue, 8 Nov 2011 20:34:39 +0100 [thread overview]
Message-ID: <74F7A456-B7B9-4241-A11D-4EC5CF27DDAC@math.ethz.ch> (raw)
Hi,
I have a strange problem with OS: Mac OS X 10.7.2 and Emacs: GNU Emacs 24.0.91.1.
If I open a shell with M-x shell, I can TAB-complete several commands, such as ps2pdf and many others. However, I can't seem to TAB-complete all commands. One exception is a2ps. I installed it, it works perfectly fine, I can TAB-complete it from the Mac's terminal, however, I can't TAB-complete it from the shell opened with M-x shell. The simple question is: Why?
Note that if I type "echo $PATH", I get:
a) from the Mac's terminal:
/Applications/Emacs.app/Contents/MacOS/:/Applications/Emacs.app/Contents/MacOS/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/opt/local/sbin
b) from the emacs shell:
/Applications/Emacs.app/Contents/MacOS/:/Applications/Emacs.app/Contents/MacOS/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/opt/local/sbin
=> exactly the same.
If I type "which a2ps" from the emacs shell, I get: /opt/local/bin/a2ps so the correct place is found, but why is there no TAB-completion?
Cheers,
Marius
next reply other threads:[~2011-11-08 19:34 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 19:34 Marius Hofert [this message]
2011-11-09 6:43 ` Why is TAB-completion in shell not working for some commands? 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
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=74F7A456-B7B9-4241-A11D-4EC5CF27DDAC@math.ethz.ch \
--to=marius.hofert@math.ethz.ch \
--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.