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

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

Re: Syntax Highlighting Latency in Emacs


From: Stefan Monnier
Subject: Re: Syntax Highlighting Latency in Emacs
Date: Mon, 13 Dec 2004 23:42:22 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>> I don't want to start a war or anything (because it probably has something
>> to do with my system), but I am curious about something I've noticed with
>> Emacs as compared with vim.  If I'm looking at a source code file in vim,
>> (and it doesn't even have to be that large - maybe a few thousand K) the
>> syntax highlighting is automatic.  And if I edit something, which changes
>> the highlighting of the rest of the file, it is instantaneous.  But in
>> Emacs, there is a 2 or 3 second delay in the updating of the highlighting. 

> I think Emacs now uses jit-lock as the font-lock-support-mode.  This
> exhibits the symptoms you're mentioning.

It's indeed the jit-lock-stealth-time delay.  In Emacs-CVS this delay has
been separated from the stealth font-locking and can be made
"instantaneous".


        Stefan


reply via email to

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