[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comment lines and matching parentheses
From: |
A.Politz |
Subject: |
Re: Comment lines and matching parentheses |
Date: |
Tue, 04 May 2010 15:42:50 -0000 |
User-agent: |
G2/1.0 |
On Mar 18, 9:14 pm, dnquark <dnqu...@gmail.com> wrote:
> What determines whether or not parentheses that are part of comments
> are included when performing paren matching?.. For instance, in C
> mode, both
> // (
> // )
> and
> foo //(
> bar //)
> are reported as mismatched parentheses. Similar behavior is observed
> in lisp mode.
>
> Is there a way to make emacs ignore all parentheses that are parts of
> comments?.. This behavior sometimes breaks hs-minor-mode's ability to
> fold code in buffers.
Try to toggle `parse-sexp-ignore-comment', but don't get confused.
-ap