Subject: Re: RFC: Lisp/Scheme with less parentheses through Python-like significant indentation?
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 2000/08/12
Newsgroups: comp.lang.lisp
Message-ID: <8n36o6$fll67$1@fido.engr.sgi.com>
Erik Naggum <erik@naggum.net> wrote:
+---------------
| There isn't "a lot of" cut and paste in Lisp, but _when_ you want to
| move or copy whole expressions, Emacs users double-click on one of
| the parentheses and the whole expression is instantly highlighted and
| ready for copy...
+---------------

By the way, even "vi" lets you do this -- "y%" will copy (or "d%" will cut)
the following sexp into the anonymous buffer, and "p" (or "P") will paste.

+---------------
| Also, when people need to move expressions around, they have tools in Emacs
| like transpose-sexp, which I suppose you would do with transpose-lines or
| something...
+---------------

In "vi", to transpose two sexps, just type "d%%p".

+---------------
| "Those who do not know Emacs are doomed to reinvent it".
+---------------

I'm sure Emacs is the ultimate tool for this[*], but still, if you
use the mechanisms available in "vi", editing Lisp is pretty easy.


-Rob

[*] For those who can make their fingers work that way; mine can't seem to.

-----
Rob Warnock, 41L-955		rpw3@sgi.com
Applied Networking		http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		PP-ASEL-IA
Mountain View, CA  94043