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

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

Re: Updating emacs shell completion cache


From: Pascal J. Bourguignon
Subject: Re: Updating emacs shell completion cache
Date: Sun, 06 Dec 2009 11:45:46 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

"Blanchette, Marco" <MAB@stowers.org> writes:

> I am sorry if this question have been asked before but I couldn't google an 
> answer.
>
> I am almost exclusively using the Emacs interactive shell mode as my
> shell and I am very frequently changing my $PATH variable when
> working on different projects so that I have access to different
> scripts store a different places. However, if I change the variable
> after I had fire up a shell, the auto completion won't reach the new
> location in $PATH. I am sure there is a way to refresh the content
> of the cache variable, I just couldn't find it yet.
>
> Any help would be appreciated.

M-x apropos RET path RET

I'm sure you will find the variable you want.  Then a quick grep in
the emacs sources will let you find whether it is ever updated after
launch.  Then you may either locate the right command to update it, or
if there's none, you can write one.  By the way, if you scan the whole
apropos buffer, you might also find a function that would be useful
if you had to implement that command.

-- 
__Pascal Bourguignon__


reply via email to

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