emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19669: closed (25.0.50; c-mode: incorrect fontific


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19669: closed (25.0.50; c-mode: incorrect fontification of simple enums)
Date: Sun, 01 Feb 2015 21:29:02 +0000

Your message dated Sun, 1 Feb 2015 21:27:37 +0000
with message-id <address@hidden>
and subject line Re: bug#19669: Acknowledgement (25.0.50; c-mode: incorrect 
fontification of simple enums)
has caused the debbugs.gnu.org bug report #19669,
regarding 25.0.50; c-mode: incorrect fontification of simple enums
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19669: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19669
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; c-mode: incorrect fontification of simple enums Date: Fri, 23 Jan 2015 15:36:33 -0800
Hi. I'm running a very recent build of emacs from git revision 253d44b
(2015/01/08). I'm loading a very simple C file that has some enums
defined (attached). The enum elements all should have been rendered with

 font-lock-variable-name-face

However at startup with

 emacs -Q -nw

only some of the elements get this face; many have just the default
face. Pressing M-x changes things: some elements actually lose the
correct face. In general, using emacs tends to change what is or isn't
rendered properly. I'm attaching screenshots of the state at startup and
after M-x.

This is 100% reproducible on my end.


enum xxx_xxxxxxxxxx_x
    {XXX_XXXX_XXXX_XXXXX_XXXXX,
     XXX_XXXX_XXXX_XXXXX_XXXXX,
     XXX_XXXX_XXXXXX_XXXXXXXX_XXXXXXX,
     XXX_XXXX_XXXXXX_XXXXXXXX_XXXXXXX,
     XXX_XXXX_XXXX_XXXXXXXX,
     XXXXXX_XXXXXXX_XXXX_XXXXXXXX,
     XXXXX_XXXXXX_XXXX_XXXXXXXX,
     XXX_XXXXXXX,
     XXX_XXX_XXXXXXXX,
     XXX_XXX_XXX_XXXXXXXXX,
     XXXXXX_XXX_XXXXXXX,
     X_XXXXXXXXXX};

enum xxx_xxxx_xxxxxxxxxx_x
    {XXX_XXXXXX_XXXX_XXX,
     XXX_XXXXXX_XXXX_XX,
     XXX_XXXXXXXX_XXXX_XXX,
     XXX_XXXX_XXXXXXX,
     XXX_XX_XXXXX_XXXX_XXXXXXX,
     XXXXXX_XXXXXX_XXXX_XXXXXXXX,
     XXX_XXXX_XXXXXXX,

     // xxx
     XXXXXX_XXXXXXXX};

Attachment: startup.png
Description: PNG image

Attachment: Meta-x.png
Description: PNG image


--- End Message ---
--- Begin Message --- Subject: Re: bug#19669: Acknowledgement (25.0.50; c-mode: incorrect fontification of simple enums) Date: Sun, 1 Feb 2015 21:27:37 +0000 User-agent: Mutt/1.5.21 (2010-09-15)
Bug fixed (in emacs-24 branch).

-- 
Alan Mackenzie (Nuremberg, Germany).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]