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

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

Re: Misfontification of enum typedef name


From: Alan Mackenzie
Subject: Re: Misfontification of enum typedef name
Date: 5 May 2007 21:48:53 +0200
Date: Sat, 5 May 2007 22:10:24 +0100
User-agent: Mutt/1.5.9i

Hi, Simon!

On Wed, May 02, 2007 at 10:56:58AM +0100, Marshall, Simon wrote:
> This is from CVS Emacs, checked out a little before the 22.x branch.
> Put this in a C++ buffer:

> typedef enum {
>       foo, bar
> } Enum;                       // "Enum" fontified as a variable name

> main() {
>       Enum e;         // "Enum" nicely fontified as a type name
> }

> Is the new cc fontification engine able to distinguish the context of
> the first "Enum" and fontify it as a type name?

My gut feeling: it should be able to.  Possibly it will be able to before
the release of Emacs 22.  I'll have a good look at it.

[ .... ]

> Simon.

-- 
Alan Mackenzie (Ittersbach, Germany)




reply via email to

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