From: Dan Jacobson <jidanni@dman.ddts.net>
Subject: Re: *shell* TAB *Completions* fooled by $PWD/
Date: 10 Jul 2002 14:03:58 +0800 [thread overview]
Message-ID: <87adp0glv5.fsf@jidanni.org> (raw)
In-Reply-To: buowus58hgc.fsf@mcspd15.ucom.lsi.nec.co.jp
>>>>> "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
next prev parent reply other threads:[~2002-07-10 6:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-07 21:13 *shell* TAB *Completions* fooled by $PWD/ Dan Jacobson
[not found] ` <200207081820.g68IKeP12935@aztec.santafe.edu>
2002-07-09 0:24 ` Dan Jacobson
2002-07-09 7:54 ` Miles Bader
2002-07-09 18:51 ` Richard Stallman
2002-07-10 6:03 ` Dan Jacobson [this message]
2002-07-10 17:31 ` Miles Bader
2002-07-10 16:48 ` Kevin Rodgers
2002-07-10 17:45 ` Dan Jacobson
2002-07-10 18:21 ` Kevin Rodgers
2002-07-10 18:30 ` David Kastrup
2002-07-11 12:01 ` Richard Stallman
2002-07-11 13:26 ` Miles Bader
2002-07-11 13:30 ` David Kastrup
2002-07-11 13:55 ` Miles Bader
2002-07-11 14:31 ` David Kastrup
2002-07-11 17:06 ` Kevin Rodgers
2002-07-11 23:05 ` David Kastrup
2002-07-12 8:09 ` Andreas Schwab
2002-07-17 16:58 ` Kai Großjohann
2002-07-17 18:26 ` Miles Bader
2002-07-18 12:01 ` Kai Großjohann
2002-07-18 12:18 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87adp0glv5.fsf@jidanni.org \
--to=jidanni@dman.ddts.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.