"Matthieu Moy" <[EMAIL PROTECTED]> writes:

> Hi,
>
> We had a discussion a few months ago about the behavior of ido when
> one types a slash.
>
> I'm still not satisfied by the current bevavior. In particular, I
> often have directories like:
>
> ./XXX/
> ./XXX-aaa/
> ./XXX-bbb/
> ./XXX-ccc/
>
> Then, at the prompt, I get
>
> ./XXX/{XXX-aaa,XXX-bbb,XXX-ccc,XXX}
>
> and I have no "fast" way to open XXX itself, while it would have been
> trivial to open it without ido.

I have just installed a change so that when there is an exact
match, ido puts it first in the list, so you can easily select it
with RET:

> ./XXX/{XXX,XXX-aaa,XXX-bbb,XXX-ccc}

As an added bonus, ido now does suffix-matching on directories, so
to select XXX/ above, all you need to enter now is  X/ as that's
the only directory ending in an X.  You can select the other
directories with a/, b/ and c/.

> I propose a new possible value for ido-enter-matching-directory, which
> enters the directory when there is an exact match, whether or not it's
> the first. 

With the above change 'first ==> 'exact.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to