bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53215: 27.2; unexpected scroll at invisible text


From: Eli Zaretskii
Subject: bug#53215: 27.2; unexpected scroll at invisible text
Date: Thu, 13 Jan 2022 15:41:55 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]