[Top][All Lists]

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

Re: Aborting display. Is this possible?

From: Eli Zaretskii
Subject: Re: Aborting display. Is this possible?
Date: Tue, 21 Oct 2014 22:42:04 +0300

> Date: Tue, 21 Oct 2014 21:43:49 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> > Instead, it would assume all characters without a `face' property
> > had the Foo property.
> Based on what?  Just on the fact that there's some input?  And who and
> how will set and reset that option, and under what circumstances?

Btw, if all you want is prevent unnecessary fontification of the parts
that will not be displayed, there's a much easier way: use a command
that moves point directly, rather than indirectly by moving the
window-start.  IOW, bind C-v to a function that moves point N physical
lines, where N is computed from the window height.  That's it! no
fancy new options and redisplay changes are necessary.

Scrolling is more expensive because it tries to be accurate: it tries
to move the text by almost a full screen, with a small overlap whose
size is known in advance and customizable to users' content.  If you
are willing to accept inaccuracy, just move point instead.

reply via email to

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