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

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

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


From: Ihor Radchenko
Subject: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window
Date: Sun, 12 May 2024 07:19:51 +0000

Eli Zaretskii <eliz@gnu.org> 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>





reply via email to

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