all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 53275@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	[thread overview]
Message-ID: <83a6fx1lvr.fsf@gnu.org> (raw)
In-Reply-To: <87fsppejo8.fsf@yahoo.com> (bug-gnu-emacs@gnu.org)

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





  parent reply	other threads:[~2022-01-15  7:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87fsppejo8.fsf.ref@yahoo.com>
2022-01-15  3:56 ` bug#53275: 29.0.50; Cursor shows up at the middle of the screen after window start is forced when vscroll is set Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-15  7:43   ` Eli Zaretskii
2022-01-15  7:47   ` Eli Zaretskii [this message]
2022-01-15  7:52     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-15 13:59       ` Eli Zaretskii
2022-01-16  0:30         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a6fx1lvr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=53275@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.