From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A.Politz" Newsgroups: gmane.emacs.help Subject: Re: Comment lines and matching parentheses Date: Thu, 18 Mar 2010 16:48:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0d0daf53-468a-46e1-9b24-6c76578c6cf3@g10g2000yqh.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272995742 28952 80.91.229.12 (4 May 2010 17:55:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 17:55:42 +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:55:41 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 1O9MLK-0004DO-Cm for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 19:55:40 +0200 Original-Received: from localhost ([127.0.0.1]:39134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9ML0-0002Ej-D2 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 13:55:18 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!g10g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 84.59.124.250 Original-X-Trace: posting.google.com 1268956089 28625 127.0.0.1 (18 Mar 2010 23:48:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 18 Mar 2010 23:48:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g10g2000yqh.googlegroups.com; posting-host=84.59.124.250; posting-account=Cb0eCQoAAADOp8Qt5mU0s83Gs6qJzY70 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-1) (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177506 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:73009 Archived-At: On Mar 18, 9:14=A0pm, dnquark wrote: > What determines whether or not parentheses that are part of comments > are included when performing paren matching?.. =A0For instance, in C > mode, both > =A0 // ( > =A0 // ) > and > =A0 foo //( > =A0 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?.. =A0This 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