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 18:02:48 +0100

On 2011-11-09, at 16:28 , PJ Weisberg wrote:

> I think you guys are going down the wrong track.
> 
> On Tuesday, November 8, 2011, Marius Hofert <address@hidden> wrote:
> > I just figured out that if I start emacs from the Mac's terminal (via 
> > "emacs" which starts /Applications/Emacs.app/Contents/MacOS/Emacs) and open 
> > an emacs shell with M-x shell, I can tab-complete a2ps.
> >
> > Hmmm... so the GUI version seems to act weird...
> 
> It sounds to me like OSX's launcher is not setting some environment variable 
> that does get set when you run the terminal.

I'm no expert on this (otherwise I would have figured it out on my own), but it 
sounds reasonable.

>  Possibly $FPATH.

never heard about that. I echo'ed that in the terminal and in the emacs shell 
and obtained an empty line in both cases.

>  I would guess that it's looking for and not finding a function called _a2ps 
> to do the completion.
> 
> -- 
> 
> -PJ




reply via email to

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