Subject: Re: Dangling Closing Parentheses vs. Stacked Closing Parentheses
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 2000/03/28
Newsgroups: comp.lang.lisp
Message-ID: <8bp8ku$p3l3a$1@fido.engr.sgi.com>
Dorai Sitaram <ds26@goldshoe.gte.com> wrote:
+---------------
| Hmm, both sides of this debate seem to agree that Vi
| makes it difficult to use clumped parens.  Actually, Vi
| is as good as Emacs at paren matching (%) and at
| s-expression manipulation (% combined with movement,
| deletion, yanking, and insertion commands).  I
| use Vi and I use clumped parens.  
+---------------

I agree. Clumped r-parens are no problem to Vi, and look a *lot* nicer.

And even though the newer "nvi" (which I use) lacks "lisp mode", it still
has "showmatch" and the paren-matched "%" movement. Granted, without "lisp
mode" the autoindent isn't ideal, but for me it's "good enough".

As Dorai says, Vi lets one cut & paste whole S-exprs easily enough --
"d%", move somewhere else, then "p" or "P" (then maybe insert or delete
a whitespace char).


-Rob

-----
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