GNU bug report logs - #28071
25.2; Wide image may interfere C-n/C-p

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Sun, 13 Aug 2017 00:03:01 UTC

Severity: normal

Found in version 25.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 28071-done <at> debbugs.gnu.org
Subject: Re: bug#28071: 25.2; Wide image may interfere C-n/C-p
Date: Sun, 13 Aug 2017 17:50:47 +0300
> From: ynyaaa <at> 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.




This bug report was last modified 7 years and 287 days ago.

Previous Next


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