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

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

bug#28071: 25.2; Wide image may interfere C-n/C-p


From: Eli Zaretskii
Subject: bug#28071: 25.2; Wide image may interfere C-n/C-p
Date: Sun, 13 Aug 2017 17:50:47 +0300

> From: ynyaaa@gmail.com
> Date: Sun, 13 Aug 2017 09:01:58 +0900
> 
> 
> Evaluating the form below, 
> C-n or C-p works wrong when the cursor is on the images.
> C-n does not move the cursor,
> and C-p moves the cursor two lines at once.
> 
> (let* ((w (window-pixel-width))
>        (h 4)
>        (img (create-image (make-string (* (1+ (/ (1- w) 8)) h) 0)
>                           'xbm t :width w :height h))
>        (str (propertize " " 'display img)))
>   (setq truncate-lines t)
>   (dotimes (i 10)
>     (insert (format "%d" i) str "\n")))

Thanks, fixed.





reply via email to

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