help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: syntax highlighting wierdness in 21.3


From: martin
Subject: Re: syntax highlighting wierdness in 21.3
Date: Wed, 17 Nov 2004 16:33:44 +0100
User-agent: Emacs Gnus

"EA" == Erik Arner <erik_arner@hotmail.com> writes:
 EA> Date: Wed, 17 Nov 2004 15:55:38 +0100
 EA> 
 EA> Hi, I recently installed Linux Fedora Core 3 along with the Emacs
 EA> that was included in the distro (21.3.1).
 EA> 
 EA> The syntax highlighting doesn't seem to work correctly for
 EA> c++-mode.  Consider the following line:
 EA> 
 EA> int main(int argc, char** argv)
 EA> 
 EA> In my previous version (21.2.1, Fedora Core 2) this was colored
 EA> as follows:
 EA> 
 EA> int - green
 EA> main - blue
 EA> ( - black
 EA> int - green
 EA> argc - yellow
 EA> , - black
 EA> char - green
 EA> ** - black
 EA> argv - yellow
 EA> ) - black
 EA> 
 EA> Now everything is green except the parens and the comma.
 EA> 
 EA> What gives?

what is the result if you start emcas with the options --no-site-file
--no-init-file, turn font locking on (M-x global-font-lock-mode RET)
and load your test file into emacs ?

 EA> 
 EA> Thanks,
 EA> 
 EA> Erik
 EA> 
 EA> -- 
 EA> My Hotmail address is a spam magnet. If replying by email,
 EA> please use erik dot arner at cgb dot ki dot se
 EA> 
 EA> 
-- 
martin dot fischer at boschrexroth dot de


reply via email to

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