[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory name completion blocks when it shouldn't
From: |
Tim Van Holder |
Subject: |
Re: Directory name completion blocks when it shouldn't |
Date: |
Tue, 5 Dec 2006 08:08:27 +0100 |
(Sorry, failed to copy the list on this reply)
On 12/5/06, Richard Stallman <address@hidden> wrote:
With M-x cd, entering "/t" TAB completes to "/top-dir/" like it should,
but "/top-dir/s" TAB does NOT complete to "/top-dir/sub-dir/" even though
there is only 1 matching directory (TAB TAB shows only "sub-dir" as only
alternative); it's necessary to disambiguate the directory name from the
names of any and all files in the same location for tab completion to
proceed. This seems like a bug.
That is correct behavior, because subdirectory names are NOT the only
valid inputs. Suppose the directory also contains img_0304.jpg,
img_0305.jpg, ... img_0315.jpg. You might want to type `i TAB *.jpg'.
For dired, yes, for "M-x cd", NO - why would "cd" accept a filename, it
makes no sense. I feel it's a bug specifically because TAB TAB shows
a list of 1 matching name; if there's only 1 matching name, TAB should
have performed the completion.
Note that even for dired I would currently expect r-d-n to be used because
the prompt says I need to specify a directory; since it accepts anything,
treating anything that is not an exact directory name as a wildcard,
perhaps that prompt should be amended to "Dired (directory or wildcard):".
- Re: Directory name completion blocks when it shouldn't, (continued)
- Re: Directory name completion blocks when it shouldn't, Chris Moore, 2006/12/08
- Re: Directory name completion blocks when it shouldn't, Richard Stallman, 2006/12/09
- Re: Directory name completion blocks when it shouldn't, Richard Stallman, 2006/12/17
- Re: Directory name completion blocks when it shouldn't, Richard Stallman, 2006/12/17
- Re: Directory name completion blocks when it shouldn't, Chris Moore, 2006/12/19
- Re: Directory name completion blocks when it shouldn't, Michael Albinus, 2006/12/20
- Re: Directory name completion blocks when it shouldn't, Sascha Wilde, 2006/12/20
- Re: Directory name completion blocks when it shouldn't, Michael Albinus, 2006/12/20
- Re: Directory name completion blocks when it shouldn't, Sascha Wilde, 2006/12/20
Re: Directory name completion blocks when it shouldn't, Richard Stallman, 2006/12/04