[Top][All Lists]

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

Re: Pixel scrolling support

From: Po Lu
Subject: Re: Pixel scrolling support
Date: Fri, 26 Nov 2021 20:46:13 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> If that position is outside the window, you should be able to use
> window-text-pixel-size to get the information.

Hmm, I will look into that, thanks.

> Sorry, I don't understand how this is relevant pos-visible-in-window-p
> can tell you the pixel coordinates of EOB if it is inside the window.
> If the EOB is inside the window, you should not scroll at all and
> return immediately, so as to avoid the annoying error.

Actually, I think we should just signal `end-of-buffer' in that case.
That is a user facing error after all, no different from the other
places where user commands signal `end-of-buffer'.

reply via email to

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