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

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

bug#61636: 30.0.50; Strange behavior of `vertical-motion' with (overlay-


From: Eli Zaretskii
Subject: bug#61636: 30.0.50; Strange behavior of `vertical-motion' with (overlay-put 'display)
Date: Sun, 26 Feb 2023 11:35:56 +0200

> From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
> Date: Mon, 20 Feb 2023 03:45:08 +0900
> 
> I can be wrong though, when using
> 
>   (overlay-put (make-overlay 2 5) 'display "B")
> 
> in [wrong] code, `vertical-motion' doesn't move the point to 2nd line.
> 
> [wrong]
>   (with-temp-buffer
>     (insert "A*B\n\n\n\n")
>     (goto-char 2)
>     (overlay-put (make-overlay 2 5) 'display "B")
>     (vertical-motion '(1 . 1)))

Thanks, should be fixed now on the emacs-29 branch.





reply via email to

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