help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comment lines and matching parentheses


From: David Rogoff
Subject: Re: Comment lines and matching parentheses
Date: Tue, 04 May 2010 15:42:48 -0000
User-agent: Unison/2.0.4

On 2010-03-18 13:14:24 -0700, dnquark said:

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.

Yes - I get hit by this in verilog-mode all the time! I'd love to have it ignore parans in comments.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]