From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: HELP, PLEASE! Syntax problem! Date: Wed, 25 Nov 2009 22:13:28 +0000 Message-ID: <20091125221328.GB4874@muc.de> References: <20091125125810.GA4734@muc.de> <20091125203039.GA4874@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259187025 10068 80.91.229.12 (25 Nov 2009 22:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 22:10:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 25 23:10:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDQ42-00082r-CE for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2009 23:10:18 +0100 Original-Received: from localhost ([127.0.0.1]:55922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDQ41-0000LH-Vx for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2009 17:10:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDQ2A-0006Wd-2E for emacs-devel@gnu.org; Wed, 25 Nov 2009 17:08:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDQ25-0006Qn-DG for emacs-devel@gnu.org; Wed, 25 Nov 2009 17:08:21 -0500 Original-Received: from [199.232.76.173] (port=58509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDQ25-0006Qc-1k for emacs-devel@gnu.org; Wed, 25 Nov 2009 17:08:17 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:1489 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDQ24-0006QQ-EB for emacs-devel@gnu.org; Wed, 25 Nov 2009 17:08:16 -0500 Original-Received: (qmail 53152 invoked by uid 3782); 25 Nov 2009 22:08:14 -0000 Original-Received: from acm.muc.de (pD9E51569.dip.t-dialin.net [217.229.21.105]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 25 Nov 2009 23:08:13 +0100 Original-Received: (qmail 6454 invoked by uid 1000); 25 Nov 2009 22:13:28 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117779 Archived-At: Hi, Stefan! On Wed, Nov 25, 2009 at 04:45:21PM -0500, Stefan Monnier wrote: > > Wow! That's one of these "why didn't I think of that?" ideas. It's > > much simpler and more effective than individually marking each > > paren/brace/bracket. But the thing to do is to set a category > > property value 'c-cpp-delimiter at the boundaries of each macro. > > All that I have to do now is to give that symbol the syntax-table > > property value "generic comment delimiter", and all these pesky > > parens vanish just like that, like switching a (n old fashioned > > tungsten) light bulb off. ;-) > Then again, I'm sure you'll find that it has its own set of problems. > After all, it's just another hack. Hahaha! Yes, indeed. But I'm dealing with C, Objective C, AWK, ... and even (excuse somebody else's language) C++. With that little bag, life is one problem after another. The secret is to hack the problems so that they become former problems. ;-) > Stefan -- Alan Mackenzie (Nuremberg, Germany).