GNU bug report logs -
#7326
24.0.50; cc-mode: No instant fontification of certain typedefs
Previous Next
Reported by: Christoph <cschol2112 <at> googlemail.com>
Date: Thu, 4 Nov 2010 01:35:02 UTC
Severity: minor
Found in version 24.0.50
Done: Alex <agrambot <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at control <at> debbugs.gnu.org (full text, mbox):
close 7326
quit
Christoph <cschol2112 <at> googlemail.com> writes:
> Start with `emacs -Q'. Create .c file.
>
> Type
>
> typedef struct
> {
> unsigned int foo;
> } FooStruct;
>
> `FooStruct' will be fontified as type immediately (green).
>
> Then, right after that, type
>
> typedef struct
> {
> unsigned int bar;
> } BarStruct;
>
> `BarStruct' will not be fontified as type immediately and stays black.
>
> However, when I kill the buffer and reopen it, `BarStruct' is correctly
> fontified as type (green).
>
> It seems like the first type in the buffer is fontified correctly, but
> the second one is only after reloading the buffer.
>
> This occurs in 24.0.50, bzr rev102241.
I can't reproduce this in 24.4 and up, so I'm closing this. Please
re-open if you disagree.
This bug report was last modified 8 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.