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: Tue, 22 Aug 2023 15:29:19 +0300

> From: Emanuel Berg <incal@dataswamp.org>
> Date: Sun, 20 Aug 2023 05:38:56 +0200
> 
> Eli Zaretskii wrote:
> 
> > That data is available, but _after_ the scroll was already
> > done. [...] Your idea, by contrast, was to know the results
> > of scrolling _before_ scrolling
> 
> It would be computed from the current state plus the intended
> scrolling, BTW the data isn't what is currently returned
> by scrolling.

I didn't say _by_ scrolling, I said _after_ scrolling.

> No, for example, by opening this very buffer, Emacs already
> knows its state, since it displays "All" in the mode bar (and
> I didn't scroll).
> 
> So it is already there. Somewhere!

Yes, but _after_ the display, not before.



reply via email to

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