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: David Kastrup
Subject: Re: C-n is very slow in Font-Lock mode
Date: Thu, 28 Apr 2005 14:16:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Maybe this would work ? 
>
>         (if (input-pending-p)
>             (forward-line 1)
>           (vertical-motion 1))
>
> It is incorrect for a cursor motion function to depend on whether
> input is pending.

Agreed.  I think it would be reasonable to allow some setting where
the cursor motion happened without mandatory fontification in some
rare circumstances when the display is delayed, but to generally flip
the behavior around depending on that sounds overdone.  It should be
restricted to the performance critical case of fontification, it
should be optional, and should rarely have an effect unless
unexpectedly large unfontified areas amount point are involved.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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