From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Rogoff Newsgroups: gmane.emacs.help Subject: Re: Comment lines and matching parentheses Date: Thu, 18 Mar 2010 14:29:33 -0700 Organization: Cox Message-ID: <2010031814293316807-david@therogoffscom> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1272995458 27746 80.91.229.12 (4 May 2010 17:50:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 17:50:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 19:50:57 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9MGm-0001oo-SB for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 19:50:57 +0200 Original-Received: from localhost ([127.0.0.1]:59418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9MGm-0006Co-2f for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 13:50:56 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe20.iad.POSTED!7564ea0f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Unison/2.0.4 Original-Lines: 21 Original-NNTP-Posting-Host: 68.228.86.15 Original-X-Complaints-To: newsmaster@cox.net Original-X-Trace: newsfe20.iad 1268947773 68.228.86.15 (Thu, 18 Mar 2010 21:29:33 UTC) Original-NNTP-Posting-Date: Thu, 18 Mar 2010 21:29:33 UTC Original-Xref: usenet.stanford.edu gnu.emacs.help:177502 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73005 Archived-At: 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.