GNU bug report logs - #70386
30.0.50; (recenter 0 t) does not put point on top of the window

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Sun, 14 Apr 2024 16:34:02 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: luangruo <at> yahoo.com, Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 70386 <at> debbugs.gnu.org
Subject: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window
Date: Thu, 09 May 2024 10:37:49 +0300
Ping!  Po Lu, can you please take another look?

> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 70386 <at> debbugs.gnu.org
> Date: Mon, 29 Apr 2024 18:31:19 +0000
> 
> Po Lu <luangruo <at> yahoo.com> writes:
> 
> > Po Lu <luangruo <at> yahoo.com> writes:
> >
> >> Eli Zaretskii <eliz <at> gnu.org> writes:
> >>
> >>> Ping!  Po Lu, could you please look into this issue?
> >>
> >> I will, thanks.
> >
> > Should be fixed now, please test and ack.
> 
> I just tried the latest master (make bootstrap).
> I am still able to reproduce the original steps, although not every time
> I run M-x eval-buffer.
> 
> (progn
>   (require 'pixel-scroll)
>   (pixel-scroll-precision-interpolate
>    (* -1 (line-pixel-height)
>       (max 0 (- (count-screen-lines (window-start) (point)) 2)))
> 
> ^^^ changing 2 to 3,4,5 or resizing frame changes the scrolling
> behavior. Sometimes, the recentering does leave the point on top, but
> the point moves down a few lines. Sometimes, recentering does not happen
> as in the original report. Sometimes, the recentering works.
> 
> -- 
> 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>
> 




This bug report was last modified 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.