unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: HELP, PLEASE! Syntax problem!
Date: Wed, 25 Nov 2009 16:45:21 -0500	[thread overview]
Message-ID: <jwviqcyb7qn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20091125203039.GA4874@muc.de> (Alan Mackenzie's message of "Wed,  25 Nov 2009 20:30:39 +0000")

> 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.


        Stefan




  reply	other threads:[~2009-11-25 21:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 12:58 HELP, PLEASE! Syntax problem! Alan Mackenzie
2009-11-25 14:43 ` Stefan Monnier
2009-11-25 20:30   ` Alan Mackenzie
2009-11-25 21:45     ` Stefan Monnier [this message]
2009-11-25 22:13       ` Alan Mackenzie
2009-11-26  0:12         ` Stephen J. Turnbull
2009-11-26  8:53           ` Alan Mackenzie
2009-11-26 15:48             ` Stephen J. Turnbull
2009-11-27  9:16               ` Alan Mackenzie
2009-11-27  9:56                 ` David Kastrup
2009-11-27 10:44                   ` Alan Mackenzie
2009-11-27  8:16 ` A Soare

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwviqcyb7qn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).