"Matthieu MOY" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to