[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell* TAB *Completions* fooled by $PWD/
From: |
Dan Jacobson |
Subject: |
Re: *shell* TAB *Completions* fooled by $PWD/ |
Date: |
10 Jul 2002 14:03:58 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "M" == Miles Bader <miles@lsi.nec.co.jp> writes:
M> 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 ~ ?
M> In general, you can't rely on completion in shell-mode to know about the
M> exact internal state of the shell process, since there's no way for
M> emacs to figure that out (it tries to track the current directory, since
M> that's very important, but even that can sometimes get messed up). The
M> value of the PWD environment variable in emacs is just whatever value it
M> got at startup.
OK, then it should admit (in the minibuffer) that it might not know
what it is/would be doing at this point, instead of confidently giving
a list that is probably wrong, and thus fooling the user into thinking
various files are/aren't in the current dir.
--
http://jidanni.org/ Taiwan(04)25854780
- *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
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11