all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Rogoff <david@therogoffs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Comment lines and matching parentheses
Date: Thu, 18 Mar 2010 14:29:33 -0700	[thread overview]
Message-ID: <2010031814293316807-david@therogoffscom> (raw)
In-Reply-To: d468de9d-e6d4-4528-8eda-2d8cfe20f11e@g26g2000yqn.googlegroups.com

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.




  parent reply	other threads:[~2010-03-18 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 20:14 Comment lines and matching parentheses dnquark
2010-03-18 21:27 ` Alan Mackenzie
2010-03-19  2:26   ` dnquark
2010-03-18 21:29 ` David Rogoff [this message]
2010-03-18 22:43 ` Pascal J. Bourguignon
2010-03-18 23:48 ` A.Politz
2010-03-19  3:46 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2010031814293316807-david@therogoffscom \
    --to=david@therogoffs.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.