(now using the darcs version.. yay!)

my "open" help patch isn't yet applied, no problem for me because darcs 
lets me keep it...

I'm looking at the syntax hilighting for "status" and the short-options 
(-l, etc.) are marked red incorrectly.

I forgot that fish doesn't use "then" in if-statements.  But the error 
message was atrocious: it only appears in the case that the boolean 
expression turns out true, and it says "unknown command 'then'".  (At 
least I remembered to use 'end' instead of 'fi'!)  I think it's 
unreasonable to name a program 'then' or 'fi', so we don't need to 
support invoking them without using their path or `command then`.  But 
regardless, this is another case where we'd like that functionality 
where fish concurrently gives you messages in response to your editing, 
saying what you've probably done wrong... although that doesn't work for 
scripts.  And we need to figure out how to make `if --help` (and so on) 
work; without that, the "everything is a command" fish-philosophy is 
less useful.

Also... you know how annoying the unix overwriting semantics are?
(cmd > file) when file already exists.  Perhaps that warning-message can 
appear for you if the 'file' exists already (which is subject to race 
conditions that bash's "noclobber" option probably isn't, but that's 
probably not much of a concern for someone at an interactive shell. 
It'd be nice to have such an option for use in scripts though, ... 
perhaps there's a unix command so that instead of
cmd > file
one can use some command like
cmd | dd of=file
except, a command that actually exit-failures when the file exists 
already.  Not sure there is such a command.
(actually, "cmd > file" doesn't overwrite device files like /dev/hda1... 
unix semantics can be really weird and I'm not sure how much it's 
reasonable to isolate the user from them, but at least we can educate 
the user about them and perhaps provide commands that make it more 
possible for some uses to say what they mean)

Perhaps I'll work on some of this sometime.

-Isaac

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to