GNU bug report logs - #53215
27.2; unexpected scroll at invisible text

Previous Next

Package: emacs;

Reported by: awrhygty <at> outlook.com

Date: Wed, 12 Jan 2022 18:03:02 UTC

Severity: normal

Tags: confirmed

Found in version 27.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 53215-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: awrhygty <at> outlook.com
Cc: 53215-done <at> debbugs.gnu.org
Subject: Re: bug#53215: 27.2; unexpected scroll at invisible text
Date: Thu, 13 Jan 2022 15:41:55 +0200
> From: awrhygty <at> 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.




This bug report was last modified 3 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.