Yet another one for Emacs users that don't use paredit:

I have Paren Match Highlighting enabled and set to highlight the
entire expression within matching parens (the highlighting kicks in
when the cursor is before the opening paren or after the closing
paren):

(show-paren-mode 1)
(setq show-paren-style 'expression)

In addition to helping me match up parens, it also helps me see the
"scope" of extended expressions like "let" or "for" at a glance.

On Aug 19, 10:08 am, Brian Goslinga <quickbasicg...@gmail.com> wrote:
> On Aug 19, 1:55 am, michele <michelemen...@gmail.com> wrote:> Thanks everyone 
> for the your answers (and the internal debates). I
> > will not put closing parenthesis on new lines. Even though the editor
> > helps me with the parenthesis, there have been situations - while
> > editing inside functions - that I had to count them.
>
> 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.
>
> Using paredit would be another solution, though (like most things) you
> have to invest some time in learning it to put it to good use.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to