On Tue, Oct 31, 2006 at 01:30:19AM +0100, Axel Liljencrantz wrote:
> Yep, Matlab makes reexecuting a multiline command a real chore. The
> only conclusion that I can draw from this is that you sometimes want
> to access the history on a line-by-line basis and sometimes on a block
> basis. And no matter which one you pick, the grass will always be
> greener on the other side.

very true. the more i'll use multiline commands them more i can see this
becoming a problem.

> One possibility is to use some special keyboard sequence to give you
> an extra prompt. From this 'extra prompt' you can then search the
> history and copy the right parts of it to the killring. Then you exit
> the secondary prompt and yank the result into the primary prompts
> command buffer.

simply exiting the secondary prompt should automaticly insert what the
line contains. (ie, it should just remove the prompt)
the keys to change or add lines inside a multiline command could cause an exit.

> I use auto-newlines in C, and I love it. Semicolons and brackets
> automatically insert newlines at the right places. This might make
> sense for fish too.

yes, using ; and & to add a new line looks like something i could get used to

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
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to