On 3/8/07, Martin Baehr <[EMAIL PROTECTED]> wrote:

that's a good point. if one puts uppercase letters in there it's
presumably done intentionally and getting the case changed on that would
be irritating.


Perhaps... but how often would it happen? Don't forget the scenario of why
you are using this...

linux> mv *.DO<tab>
*.do  stupid.doc, silly.doc, resume.doc, ...
linux> mv *.do

Just because I use capital letters doesn't mean I am certain of the case I
want... there are scenarios either way. I think it's more consistent to
always do a case insensitive match if there are no results. The whole point
of pressing TAB in this situation is because you want to complete the line.
You are EXPECTING matches. You wouldn't press tab if you thought there were
no matches. So at that point, if the computer fails to see any matches, it's
not a stretch to assume that there might be a simple case issue, and to
start hunting... lower case when you expected upper, or vice versa, does not
really matter.

I don't know about you, but I don't press tab if I'm not expecting matches.
So whether the computer has to change my case, show me other possibilities,
or what, I want it to make a best effort try to guess what I may have wanted
to match, on the assumption that I wouldn't be pressing tab if I didn't
expect to find a match of some sort.

Another point I missed in my previous example... there is an implied '*' on
the end when you press tab, because you're extending a match.

Myrddin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to