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

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

Re: comments are not highlighted


From: Rob Thorpe
Subject: Re: comments are not highlighted
Date: 17 Sep 2003 09:30:11 -0700

Prem Mallappa <prem_mallappa@hotpop.com> wrote in message 
news:<pan.2003.09.16.02.53.46.977248@hotpop.com>...
> Hi 
> 
> i opened file /usr/src/kernel-source-2.xxx/drivers/net/eepro100.c
> 
> which has arround 150 lines of comments. at line 184 or so.. . Emacs stops
> changing the color (global-font-lock-mode) of comments after certain point
> ( 100 lines or so) after that it shows the comments as normal text and
> highlights the keywords such as "do" "for" etc.. 
> 
> One more thing i noticed i selected whole buffer and said "indent-region"
> Now everything is fine..
> Why emacs is unable to see the comments as *comments*
> I am running 21.3.1

Got no idea what causes that, but M-x lazy-lock-mode RET fixes it
Bug in jit lock?  I don't even know if its gauranteed to work in all situations.


reply via email to

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