Subject: Re: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window

From: Ihor Radchenko <[email-masked]>
Date: Sun, 12 May 2024 07:19:51 +0000

Eli Zaretskii <[email-masked]> writes:

> It is still very much unpredictable: sometimes shows the last line at
> the window's top, sometimes doesn't.

Let's try a slightly different recipe:

1. emacs -Q
2. Insert
(progn
  (require 'pixel-scroll)
  (pixel-scroll-precision-interpolate
   (* -1 (line-pixel-height)) nil 1)
  (recenter 0 t))
3. Move point to "progn"
4. M-x eval-buffer

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>