* bug#20208: 25.0.50; c-mode: incorrect fontification of simple enums (again)
@ 2015-03-26 20:07 Dima Kogan
2016-09-08 23:51 ` Alex
0 siblings, 1 reply; 2+ messages in thread
From: Dima Kogan @ 2015-03-26 20:07 UTC (permalink / raw)
To: 20208
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: tst.hh --]
[-- Type: text/x-c++hdr, Size: 1114 bytes --]
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,
};
[-- Attachment #3: enum_fontification_issue.png --]
[-- Type: image/png, Size: 2884 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#20208: 25.0.50; c-mode: incorrect fontification of simple enums (again)
2015-03-26 20:07 bug#20208: 25.0.50; c-mode: incorrect fontification of simple enums (again) Dima Kogan
@ 2016-09-08 23:51 ` Alex
0 siblings, 0 replies; 2+ messages in thread
From: Alex @ 2016-09-08 23:51 UTC (permalink / raw)
To: Dima Kogan; +Cc: 20208
close 20208 25.1
quit
Dima Kogan <dima@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-08 23:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 20:07 bug#20208: 25.0.50; c-mode: incorrect fontification of simple enums (again) Dima Kogan
2016-09-08 23:51 ` Alex
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).