Richard A. O'Keefe <ok@goanna.cs.rmit.edu.au> wrote:
+---------------
| > prefix notation is hell for me. I'll get a complex expression down
| > perfect and then remember I have to divide the whole thing by two, which
| > is usually the start of a cursor nightmare.
|
| Hmm.
| "(/ " Forward-S-Expression " 2)"
| In the editor I use, 9 keystrokes.
+---------------
And even in raw "vi", it's only 12 keystrokes: "i(/ <ESC>" to put the front
part on, " %" to step over the S-expression, and "i 2)<ESC>" for the rest.
(Or only 11 if you do it the counter-intuitive [to me] way and insert
"/ (" *after* the opening paren of the old S-expr.)
+---------------
| If I have a complex expression in C, that needs dividing, it's
| "(" <hairy cursor nightmare> ")/2"
| because there isn't a key meaning "forward over C expression".
+---------------
Indeed!
-Rob
-----
Rob Warnock, 7L-551 rpw3@sgi.com
Silicon Graphics, Inc. http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd. Phone: 415-933-1673 FAX: 415-933-0979
Mountain View, CA 94043 PP-ASEL-IA