emacs-devel
[Top][All Lists]
Advanced

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

Re: move_it_vertically_backward question


From: Po Lu
Subject: Re: move_it_vertically_backward question
Date: Thu, 16 Dec 2021 20:17:45 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> I can't think of anything better.

Now that I think of it, how about this: we introduce a primitive
`line-above-point-by', which returns the line N pixels above a given
point in the current window, and a new `no-ascent-descent' argument to
window-text-pixel-size, that avoids adding the ascent and descent of the
iterator to the height before returning it?


reply via email to

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