GNU bug report logs - #53220
27.2; scroll-up moves point +1 if text has display property

Previous Next

Package: emacs;

Reported by: awrhygty <at> outlook.com

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

Severity: normal

Tags: confirmed, wontfix

Found in versions 27.2, 29.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 53220 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: awrhygty <at> outlook.com
Cc: 53220 <at> debbugs.gnu.org
Subject: Re: bug#53220: 27.2; scroll-up moves point +1 if text has display
 property
Date: Thu, 13 Jan 2022 07:08:20 +0100
awrhygty <at> outlook.com writes:

> Evaluate the form below and type 'C-v', the current point moves next to
> the beginning of line.
> Similarly, if the current point is at the window-start and type 'M-v',
> the buffer scrolls down and the point moves next to the original position.
>
> (let ((buf (generate-new-buffer "tmp"))
>       (line (propertize "A" 'display "B")))
>   (switch-to-buffer buf)
>   (dotimes (i 100)
>     (insert line ?\n))
>   (goto-char (point-min)))

I can reproduce this behaviour in Emacs 29, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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