I'm relatively new to Emacs and I have recently set it up as an IDE to develop C++ (emacs24 + builtin CEDET + ECB from cvs). I am enjoying the results so far but I'd like some custom highlighting which doesn't seem to exist by default.
When I declare a new constant, local variable or object attribute they appear in a different color. However, when they are used somewhere else, they are displayed as normal text. I'd like to make the constants to be displayed in another color + italics (for example) when they are used somewhere in the code after being declared.
Is there any way to achieve that? I have tried to C-u C-x =
to see the enabled faces and customize them, but it doesn't seem to notice that I'm over a special symbol and not ordinary text. ECB displays them as variables or attributes in one of its windows.