On 3/8/07, Myrddin Emrys <[EMAIL PROTECTED]> wrote: > On 3/8/07, Martin Baehr <[EMAIL PROTECTED] > > wrote: [...] 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. [...]
I mostly agree with those ideas, except for "if there are no results" and "if the computer fails to see any matches". These suggest that if I try to complete "ea" and both "earn" and "Earth" are valid completions then only "earn" should complete. I think that they should both be shown. In other words, Fish should look for alternative case anyway, and not only if the original case does not match. A related question is what to do if I try to complete "ea" and both "earth" and "Earth" are correct. Since there is no unique match, the principle I suggested earlier says that the command should remain unchanged. But the matches have a common suffix, so does it not make sense to complete that? I guess this is making it too complicated? ------------------------------------------------------------------------- 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
