Philip Ganchev wrote:
> On Jan 11, 2008 6:34 PM, Isaac Dupree <[EMAIL PROTECTED]> wrote:
>>>> But just doing nothing when I type "sudo !!" is not very friendly.  At the
>>>> least, it should pop up a message telling me the "fish way" to do it.
>>> This is about as complicated as fully implementing "!!".
>> code complexity, user simplicity: it's a tradeoff, right?
> 
> Not exactly.  This is one example of a user habit that is actually
> inefficient.  It's fine for the special cases of "!!", "!$" and "!^",
> but in general editing using Bash's substitution mechanism is a
> needless mental burden and a risk.

How can I not be misinterpreted?  I know it's inefficient and risky, so 
I want the users who try it out of old habits to be directed to the 
fish-way of doing it, not to get a puzzling error message with no idea 
what happened!  I'm saying that even if "This is about as complicated as 
fully implementing "!!".", it's better for us to give a message than to 
"fully implement !!", (if it's worth doing either -- which sounds nearly 
impossible to do without unduly messing up cases where it was intended 
as a normal string.  In other words, I think it's harder to implement 
the message ideally than to implement bash-style !!)

~Isaac

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to