> I use emacs a lot to edit c++. I've noticed, that emacs does not
> highlight syntax properly (e.g. types, function names, etc). I'm aware
> of lazy-lock, but it seems that it does not improve the behavior.
When c-mode or cc-mode is active, type 'M-x c-version' to determine
the current version of CC Mode.
The latest version is 5.32.1, and it contains fixes to previous syntax
highlighting issues.
To upgrade, visit http://cc-mode.sourceforge.net
I use Emacs 23.1.1 and CC Mode 5.31.7
The behavior is such that I think Emacs does not update fontification
too frequent. For example, I have function names printed in bold pink
when they are declared. Sometimes, when two declarations are visible
on the screen, one function name is highlighted while the other is
not. I can fix this anytime by invoking M-x font-lock-fontify-buffer,
but this is rather Emacs' job than mine..
I might give a try what Eric said.
I appreciate all the feedback!
Fab
Thanks Alan
I'm in an internship for 12 weeks (starting today) and I will not work
on that C++ project, however, I will do what you said as soon as I
continue to work on it again.
regards
Fab