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: Ihor Radchenko <yantar92 <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, 70386 <at> debbugs.gnu.org
Subject: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window
Date: Sun, 12 May 2024 07:17:29 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Ihor Radchenko <yantar92 <at> posteo.net>
>> Cc: luangruo <at> yahoo.com, 70386 <at> debbugs.gnu.org
>> Date: Sun, 12 May 2024 06:58:32 +0000
>> 
>> Try the following - it should not overshoot and should be more deterministic:
> ...
> P.S. You didn't tell how to run this recipe; I used "M-x eval-buffer".

I also move point somewhere in the middle of progn before running M-x eval-buffer.

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

I am mostly concerned about the case when the line _does not_ move to
window's top. The other case is what I observed in the past as well. It
is only the case when nothing is moved between begin/end states that
appeared recently.

-- 
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.