help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Make scroll-{up, down} move point to {start, end} of newly visible t


From: Eli Zaretskii
Subject: Re: Make scroll-{up, down} move point to {start, end} of newly visible text
Date: Sun, 13 Aug 2023 16:23:01 +0300

> From: Emanuel Berg <incal@dataswamp.org>
> Date: Sat, 12 Aug 2023 17:35:10 +0200
> 
> Since it says "Bottom" in my mode bar that data is clearly available
> somewhere, and it is actually everything needed in this case to
> prevent or allow scrolling ....

That data is available, but _after_ the scroll was already done.

Just to remind you, both the scrolling of the window and the display
of the mode line (the one that says "Bottom") is the job of the
display engine, and by the time it displays the mode line, it already
knows the results of scrolling the window.

Your idea, by contrast, was to know the results of scrolling _before_
scrolling, and that is what I'm trying to explain to you.



reply via email to

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