emacs-devel
[Top][All Lists]
Advanced

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

Re: Unfreezing the display during auto-repeated scrolling.


From: Eli Zaretskii
Subject: Re: Unfreezing the display during auto-repeated scrolling.
Date: Mon, 27 Oct 2014 05:36:32 +0200

> Date: Sun, 26 Oct 2014 22:15:30 +0000
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> From: Alan Mackenzie <address@hidden>
> 
> Maybe Eli's suggestion of rewriting scroll-up and scroll-down from
> scratch in Elisp could work, but if I'm not mistaken, there's no
> infrastructural support for window lines, etc., which doesn't involve
> fontification.  This would have to be written.

Since you don't really care about accuracy here, you could simply move
in physical lines.  That's fast and doesn't need any support from the
display engine.

> If movement on a window absolutely requires fontified characters, then
> some means will need to be found for the display code to tell jit-lock
> HOW MUCH needs fontifying, and for that amount to be much less than 500
> bytes in the non-display case.

There already is such a parameter, you just need to use it.

> One might argue that CC Mode fontification should be speeded up.  Yes, it
> should, but it's not ever going to be speeded up by an order of
> magnitude.

I don't see why not.  We could rewrite that stuff in C.



reply via email to

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