GNU bug report logs -
#70386
30.0.50; (recenter 0 t) does not put point on top of the window
Previous Next
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
Message #92 received at 70386 <at> debbugs.gnu.org (full text, mbox):
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: luangruo <at> yahoo.com, 70386 <at> debbugs.gnu.org
> Date: Sun, 12 May 2024 07:19:51 +0000
>
> Eli Zaretskii <eliz <at> 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
Still unpredictable. Sometimes point ends up on progn with
window-start being 1 as at the beginning, sometimes I see the
"recenter" line at the top line with point at EOB (i.e. below that
line).
Why do you think some minor modifications of the recipe should affect
the results?
This bug report was last modified 363 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.