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

Package: emacs;

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53275 <at> debbugs.gnu.org
Subject: bug#53275: 29.0.50; Cursor shows up at the middle of the screen after window start is forced when vscroll is set
Date: Sat, 15 Jan 2022 09:47:04 +0200
> Date: Sat, 15 Jan 2022 11:56:23 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Starting from 'emacs -Q', press M-< in the scratch buffer, then say M-:
> and evaluate:
> 
>   (progn
>     (set-window-vscroll nil 30 t)
>     (redisplay)
>     (set-window-start nil (point-max)))
> 
> The cursor will then display in the center of the screen, which is not
> the correct position.

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, or why does it matter what Emacs
does in that case (except that it should not crash).




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.