GNU bug report logs - #20208
25.0.50; c-mode: incorrect fontification of simple enums (again)

Previous Next

Packages: emacs, cc-mode;

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

Date: Thu, 26 Mar 2015 20:07:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Alex <agrambot <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 20208 <at> debbugs.gnu.org
Subject: bug#20208: 25.0.50; c-mode: incorrect fontification of simple enums (again)
Date: Thu, 08 Sep 2016 17:51:14 -0600
close 20208 25.1
quit

Dima Kogan <dima <at> secretsauce.net> writes:

> Hi. This is very similar to bug 19669. I'm running emacs from revision
> 6e1fac9, which has the fix to bug 19969: revision d69e9f1c.
>
> I'm opening a file tst.hh (attached). Then "emacs -Q -nw tst.hh". Then
> any interactive command (M-x, for instance). The result has
> fontification issues, as shown by the attached image.
>
>
> enum class error_t
> {
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx					  = -1,
> 	xxxxxxxxxxxxxxxxxxxxxxxxx							  = -3,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx		  = -4,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx			  = -5,
> 	xxxxxxxxxxxxxxxxxxxxxxxxx							  = -9,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxx							  = -10,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx				  = -11,
> 	xxxxxxxxxxxxxxxxxxxxxxx								  = -14,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx			  = -15,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx					  = -16,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = -18,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx					  = -19,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx				  = -20,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx				  = -21,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx						  = -22,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxx						  = -25,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx			  = -27,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx			  = -31,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx				  = -32,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx						  = -33,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxx						  = -36,
> 	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx						  = -48,
> };

This appears to have been fixed in 25.1.




This bug report was last modified 8 years and 260 days ago.

Previous Next


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