unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why is TAB-completion in shell not working for some commands?
@ 2011-11-08 19:34 Marius Hofert
  2011-11-09  6:43 ` Andreas Röhler
  0 siblings, 1 reply; 32+ messages in thread
From: Marius Hofert @ 2011-11-08 19:34 UTC (permalink / raw)
  To: Emacs help

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




^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <mailman.9.1320780886.798.help-gnu-emacs@gnu.org>]
[parent not found: <mailman.2976.1320857313.797.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2011-11-11  3:03 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).