From: Alan Mackenzie <acm@muc.de>
To: Dima Kogan <dima@secretsauce.net>
Cc: 13612@debbugs.gnu.org
Subject: bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode
Date: Tue, 5 Feb 2013 14:54:06 +0000 [thread overview]
Message-ID: <20130205145405.GA3674@acm.acm> (raw)
In-Reply-To: <20130204125944.77cf078a@fatty>
Hi, Dima!
On Mon, Feb 04, 2013 at 12:59:44PM -0800, Dima Kogan wrote:
> > On Sun, 03 Feb 2013 05:48:41 +0200
> > Eli Zaretskii <eliz@gnu.org> wrote:
> > > From: Dima Kogan <dima@secretsauce.net>
> > > Date: Sat, 02 Feb 2013 15:35:17 -0800
> > > void f(void)
> > > {
> > > filter_R( dt );
> > > filter_t( dt );
> > > a = b;
> > > }
> > > I'm observing the filter_R line being colored differently from the
> > > filter_t line. Everything on the filter_R line is using the
> > > 'default' face. 'filter_t' uses font-lock-type-face.
> > The "foo_t" tokens are taken as data types, AFAIK, to support size_t,
> > off_t, etc.
> Ah, that makes sense now. Ideally emacs should be able to separate the two
> cases, ......
Do M-x customize-variable <CR> c-font-lock-extra-types, remove the entry
"\sw+_t", then reinitialise C Mode like it says. The false fontification
should then be gone.
> ..... but maybe this is not significant enough to care. Thoughts?
> Should I close this bug?
Yes please, close it as "not a bug". Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
prev parent reply other threads:[~2013-02-05 14:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-02 23:35 bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode Dima Kogan
2013-02-03 3:48 ` Eli Zaretskii
2013-02-04 20:59 ` Dima Kogan
2013-02-04 21:15 ` Eli Zaretskii
2013-02-05 14:54 ` Alan Mackenzie [this message]
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=20130205145405.GA3674@acm.acm \
--to=acm@muc.de \
--cc=13612@debbugs.gnu.org \
--cc=dima@secretsauce.net \
/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.