emacs-devel
[Top][All Lists]
Advanced

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

Re: The future of Follow Mode - a proposal.


From: Stefan Monnier
Subject: Re: The future of Follow Mode - a proposal.
Date: Wed, 24 Feb 2016 19:30:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> The most striking one is vertical-motion (which doesn't belong to
> redisplay at all, and thus will not benefit from your suggestion).
> Redisplay proper does similar stuff at places as part of its decision
> where to place point and whether/by how much to scroll the window in
> order to bring point back into view.

I see, thanks.  Indeed both examples fall outside the scope of
"redisplay" that could be covered by the kind of hook I have in mind.

I live in a world where wrapped lines are sufficiently rare that I don't
really care and rarely think about what can happen in those cases.

But now that I think about it: I'm not sure how vertical-motion could
handle a "multiple-window" case where the windows don't have the same
width (same thing in other similar cases, such as with overlays with
a `window' property that make them only apply to some of the multiple
windows, or when the windows aren't all in the same frame and don't use
the same font).  The desired semantic seems undefined except for the
case where the vertical motion is applied to the "currently displayed
state" (so we know when to use which window data).


        Stefan



reply via email to

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