[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ido shows wrong completions
From: |
Matthieu MOY |
Subject: |
Re: ido shows wrong completions |
Date: |
Tue, 16 Aug 2005 14:13:05 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
Kim F. Storm said:
> Matthieu Moy <address@hidden> writes:
>
>> I have a ~/local/ and a ~/local-mirror/ directory in my $HOME.
>>
>> With ido enabled, when I do C-x C-f ~/local/ TAB TAB, the list of
>> completion is the list of files in my $HOME, with the 7th character
>> highlighted, whereas it should list $HOME/local/.
>>
>
> Actually, this is a feature rather than a bug.
>
> [...]
>
> When you have tabbed through all completions, the next TAB will
> go back to the first page, but this time showing you ALL the
> elements in the current directory.
Since I've already typed a slash (the minibuffer shows ~/local/), I expect
the current directory to be ~/local/, not ~/.
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.
> 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".
--
Matthieu