GNU bug report logs -
#53275
29.0.50; Cursor shows up at the middle of the screen after window start is forced when vscroll is set
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Sat, 15 Jan 2022 03:57:01 UTC
Severity: normal
Found in version 29.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
Eli Zaretskii <eliz <at> gnu.org> writes:
>> (progn
>> (set-window-vscroll nil 30 t)
>> (redisplay)
>> (set-window-start nil (point-max)))
> Sorry, I missed the "M-<" part. With it, the behavior is
> reproducible, but I'm not sure I understand what is "the correct
> position" of the cursor in this case
It should show up where point is, which in this case is at the window
start.
> or why does it matter what Emacs does in that case (except that it
> should not crash).
Precision scrolling relies on this: when the buffer cannot be scrolled
downwards sufficiently, it sets the window start to point-max and
redisplays, which right now results in the cursor being displayed in the
middle of the screen until the next redisplay.
Thanks.
This bug report was last modified 3 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.