Brian Goslinga <[email protected]> writes: > Here is another trick that works for me in Emacs: delete most of the > stack of closing parens, and then spam the ) key until the Emacs > matches it to the desired opening paren. I can't remember a time that > I had to manually count the parens when using that technique.
Note that if you are using SLIME, C-c C-] will close all parentheses
still open at point -- though as with the above method, it's good to
take a look and make sure that's really what you want.
Historically, several lisps have provided ']' to mean `close all
currently open parens' as well, as in
(defun foo (x) (progn (foo) (bar]
but as more lisps (R6RS, clojure, several older schemes) provide [ ] as
a separate syntactic form or as an equivalent to ( ), this is not really
an option any more.
--
Jim Wise
[email protected]
pgpoDAuynSAaM.pgp
Description: PGP signature
