GNU bug report logs - #13612
24.3.50; Incorrect syntax highlighting in cc-mode

Previous Next

Packages: cc-mode, emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Sun, 3 Feb 2013 00:12:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 13612 <at> debbugs.gnu.org (full text, mbox):

From: Dima Kogan <dima <at> secretsauce.net>
To: 13612 <at> debbugs.gnu.org
Subject: Re: bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode
Date: Mon, 4 Feb 2013 12:59:44 -0800
> On Sun, 03 Feb 2013 05:48:41 +0200
> Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Dima Kogan <dima <at> 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, but maybe this is not significant enough to care. Thoughts? Should I
close this bug?




This bug report was last modified 12 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.