[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell* TAB *Completions* fooled by $PWD/
From: |
Miles Bader |
Subject: |
Re: *shell* TAB *Completions* fooled by $PWD/ |
Date: |
09 Jul 2002 16:54:11 +0900 |
jidanni@dman.ddts.net (Dan Jacobson) writes:
> $ cd; emacs -q
> <escape> x s h e l l <return> c d SPC . . <return> m o r e SPC $ P W D / <tab>
> Well, are the *Completions* those of .. or ~ ?
In general, you can't rely on completion in shell-mode to know about the
exact internal state of the shell process, since there's no way for
emacs to figure that out (it tries to track the current directory, since
that's very important, but even that can sometimes get messed up). The
value of the PWD environment variable in emacs is just whatever value it
got at startup.
-Miles
--
"Most attacks seem to take place at night, during a rainstorm, uphill,
where four map sheets join." -- Anon. British Officer in WW I
- *shell* TAB *Completions* fooled by $PWD/, Dan Jacobson, 2002/07/08
- Message not available
- Re: *shell* TAB *Completions* fooled by $PWD/, Dan Jacobson, 2002/07/09
- Re: *shell* TAB *Completions* fooled by $PWD/, Kevin Rodgers, 2002/07/10
- Re: *shell* TAB *Completions* fooled by $PWD/, Dan Jacobson, 2002/07/10
- Re: *shell* TAB *Completions* fooled by $PWD/, Kevin Rodgers, 2002/07/10
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/10
- Re: *shell* TAB *Completions* fooled by $PWD/, Richard Stallman, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11