unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 53215-done@debbugs.gnu.org
Subject: bug#53215: 27.2; unexpected scroll at invisible text
Date: Thu, 13 Jan 2022 15:41:55 +0200	[thread overview]
Message-ID: <83k0f33g7w.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB3920AE3640037E274ED7BBAEC3529@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

> From: awrhygty@outlook.com
> Date: Thu, 13 Jan 2022 02:21:06 +0900
> 
> Evaluate the following form and type 'C-f'.
> The point moves to invisible text and the buffer scrolls up as if
> recenter('C-l') is done.
> Same things happen on other lines if the end of buffer is not displayed
> in the current window.
> 
> (let ((buf (generate-new-buffer "tmp")))
>   (switch-to-buffer buf)
>   (setq truncate-lines nil)
>   (dotimes (i (1+ (- ?~ ?!)))
>     (insert (format "%d " i))
>     (insert (propertize " " 'invisible t))
>     (insert-char (+ ?! i) (window-width))
>     (insert ?\n))
>   (goto-line 20)
>   (redisplay)
>   (forward-line)
>   (skip-chars-forward "^ "))

Thanks, should be fixed now on the master branch.





      parent reply	other threads:[~2022-01-13 13:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 17:21 bug#53215: 27.2; unexpected scroll at invisible text awrhygty
2022-01-13  6:17 ` Lars Ingebrigtsen
2022-01-13 13:41 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83k0f33g7w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=53215-done@debbugs.gnu.org \
    --cc=awrhygty@outlook.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).