emacs-devel
[Top][All Lists]
Advanced

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

Re: C-n is very slow in Font-Lock mode


From: Eli Zaretskii
Subject: Re: C-n is very slow in Font-Lock mode
Date: Wed, 27 Apr 2005 01:43:52 +0300

> Cc: address@hidden, address@hidden
> From: David Kastrup <address@hidden>
> Date: Tue, 26 Apr 2005 23:38:11 +0200
> 
> > I think jit-lock-defer-time _is_ the way to avoid the slowness if
> > you are willing to see the text unfontified for a fraction of a
> > second.
> 
> I think that a separate value of 0 where is one not willing to see
> text unfontified, but willing to have motion calculated with a still
> unfontified text, would make perfect sense.

jit-lock-defer-time works by setting up an idle timer.  Will
run-with-idle-timer work if you give it a zero time-out?

And fontification of the visible portion will take time during which
one still sees unfontified text, anyway.




reply via email to

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