[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ido shows wrong completions
From: |
Kim F. Storm |
Subject: |
Re: ido shows wrong completions |
Date: |
Tue, 16 Aug 2005 15:13:20 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Matthieu MOY" <address@hidden> writes:
>
> Since I've already typed a slash (the minibuffer shows ~/local/), I expect
> the current directory to be ~/local/, not ~/.
That is confusing, yes, but until you type RET, you don't
switch directory.
Consdier this:
if you just type ~/cal/ rather than ~/local/ you will see the same
possible completions, but it is now clear that you are not yet
switched into local/.
One possible enhancement would be to fontify the trailing /
differently until you actually hit RET to enter the directory...
>
> What's even more confusing is that Emacs highlights the next caracter to
> type in the completion buffer, and in your case, the highlighted character
> is *not* the one to type.
True -- it is probably better not to highlight anything in that case...
>
>> If you have some better idea how to handle this, please tell me.
>
> My advice would be to take the trailing slash into account. For example,
> make "/" equivalent to what is currently "/ RET".
Ido does that already if there are no other completions, see
ido-enter-single-matching-directory.
--
Kim F. Storm <address@hidden> http://www.cua.dk