Excellent! I was planning to do this myself ;) Applied.
-- JP

On Wed, Aug 20, 2008 at 5:20 PM, allan <[EMAIL PROTECTED]> wrote:
> Dear all
>
> Currently the completion function for the minibuffer just picks the head of 
> the list of matches. The list of matches is all those in the "possibilities" 
> which have the current input as a substring. This usually works well, but can 
> sometimes render a buffer with a short name unreachable.
> Consider, you open three files:
> Parser.hs AParser.hs and BParser.hs
> The problem is that the list has 'Parser.hs' at the end. If you try to switch 
> from AParser.hs to Parser.hs by typing in the full name Parser.hs and hitting 
> enter then it will switch to BParser.hs because this is the first match. You 
> then try to switch from there to Parser.hs but this time it picks AParser.hs. 
> So you end up going back and forth between the longer file names unable to 
> distinguish the shorter file name.
> To solve this the mini-buffer on completion will now just return the input 
> (ie what is in the minibuffer) if that matches exactly any of the 
> possibilities, if it doesn't then we do as before and simply choose the first 
> infix match.
>
> regards
> allan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to