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

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

Re: font-lock latency


From: Simon Josefsson
Subject: Re: font-lock latency
Date: Tue, 03 Sep 2002 12:21:08 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Eli Zaretskii <eliz@is.elta.co.il> writes:

> On Mon, 2 Sep 2002, Simon Josefsson wrote:
>
>> $ emacs -q --no-site-file foo.c
>> M-x font-lock-mode RET
>> 
>> change the line
>> 
>> #include "foo.h"
>> 
>> into
>> 
>> #include "foo.
>> 
>> and wait a couple of seconds.  Then add the " back.  Font locking in
>> the buffer is now messed up and the only way to restore it is to wait
>> a couple of seconds again.
>
> Does it help to type "M-g M-g" instead of waiting?

Not completely, the main() function body is correctly re-highlighted,
but the main() function definition line is still incorrect.  Pressing
M-g M-g again does nothing.  After a few seconds it looks OK.





reply via email to

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