unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Updating emacs shell completion cache
@ 2009-12-05 21:42 Blanchette, Marco
  0 siblings, 0 replies; 2+ messages in thread
From: Blanchette, Marco @ 2009-12-05 21:42 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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.

Thanks

--
Marco Blanchette, Ph.D.
Assistant Investigator
Stowers Institute for Medical Research
1000 East 50th St.

Kansas City, MO 64110

Tel: 816-926-4071
Cell: 816-726-8419
Fax: 816-926-2018




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updating emacs shell completion cache
       [not found] <mailman.12357.1260081524.2239.help-gnu-emacs@gnu.org>
@ 2009-12-06 10:45 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal J. Bourguignon @ 2009-12-06 10:45 UTC (permalink / raw)
  To: help-gnu-emacs

"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__


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-06 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.12357.1260081524.2239.help-gnu-emacs@gnu.org>
2009-12-06 10:45 ` Updating emacs shell completion cache Pascal J. Bourguignon
2009-12-05 21:42 Blanchette, Marco

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).