On Thu, Aug 31, 2006 at 03:27:55AM -0400, Philip Ganchev wrote: > This rule sounds complicated. I'm concerned that a user who tries to > "discover" word deletion in Fish (without reading documentation) would > not get the rule and would avoid deleting whole words.
the rule is in the code, the user still only has to hit ctrl-w as before. > Sorry, what were the troubles -- that you had to press Ctrl+W many > times to delete many consecuitve separators? With the new rule you > would still have to press Ctrl+W many times, only one time less than > with the simpler rule. no, the other way around: the trouble was that ctrl-w would delete all remaining seperators inthe current token and the last word of the previous token: how it works in 1.21.11: > ls dir/file ./more<ctrl-w> > ls dir/file ./<ctrl-w> > ls dir/<cursor is here> what i asked for: > ls dir/file ./more<ctrl-w> > ls dir/file ./<ctrl-w> > ls dir/file<cursor is here> what the patch does: > ls dir/file ./more<ctrl-w> > ls dir/file .<ctrl-w> > ls dir/file <cursor is here (note the space)> > ls dir/file <ctrl-w> > ls dir<cursor is here> so while maybe not perfect, this is better. and it may even be better than how i thought it should behave. i am not sure about how the / is handled now, but i really can't say whether that will be an issue at all. practice will show. > [rearranged] > > > the main problem is the need to be able to remove a whole argument > > > conveniently. preferably without needing a seperate shortcut > Does it have to be one keycombo press? no, but one keycombo press must not delete more than a whole argument. as you can see above the second <ctrl-w> deletes the last argument and part of the previous one, which is to much. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
