not sure I fully understand the cursor thing... but the main use case and
reason for the change I made is so that it makes searching after you only
enter a single letter useful.

for example if I know that I opened something with evince recently and want
to do it again, I have to type in at least ev or evi before hitting the "up
arrow" to get meaningful results, since if I just type "e" and then hit up,
it will hit any line that has an "e" anywhere in the command, which will be
pretty much everything.

On the other hand if you present the ones that match the start of the line
first it will scroll through only the commands that start with "e", and will
likely bring up evince MUCH faster!

for anyone who's used matlab, and gotten used to that command history its an
indispensible feature!

I think its still good to present results that match anywhere in the line,
but doing it only after presenting results that match the start of the line
makes it so that searches with only 1 character are actually useful!

I would also think that most users will be starting to type the command they
are trying to ente, and then hitting up rather than some arbitrary substring
from the middle, which makes the results that matches the start of the
string much more intuitive!

thanks,
-=Abe

On Tue, Nov 4, 2008 at 12:19 AM, Philip Ganchev <[EMAIL PROTECTED]>wrote:

> Thanks, Abe.  Without having played with it, I also would think that
> this algorithm would be confusing for users.  The relevance score may
> be a nice idea, though it is arguably even more complicated.
>
> I seem to recall that we once discussed using the position of the
> cursor as an indicator; if the cursor is at char0, restrict the search
> to strings that start with the query string. If we did not discuss it,
> at least I was thinking about the idea.  Of course, I can't argue that
> it's more obvious to users, but it may be.
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to