Subject: bug#25662: closed (Re: bug#25662: 25.1; an image around line wrapping may be shown twice)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 10 Feb 2017 16:21:01 +0000

Your bug report

#25662: 25.1; an image around line wrapping may be shown twice

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25662: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25662
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25662: 25.1; an image around line wrapping may be shown twice
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 10 Feb 2017 18:20:42 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: [email-masked]
> Date: Thu, 09 Feb 2017 17:36:13 +0900
> 
> Evaluating the form below, an image(spiral bar) is displayed.
> Then insert any text before TAB to move the image to the right.
> When line wrapping is needed for the image,
> it is shown both at the end of the first physical line
> and at the beginning of the second physical line.

Thanks, fixed on the master branch.

Subject: 25.1; an image around line wrapping may be shown twice
From: [email-masked]
To: [email-masked]
Date: Thu, 09 Feb 2017 17:36:13 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Evaluating the form below, an image(spiral bar) is displayed.
Then insert any text before TAB to move the image to the right.
When line wrapping is needed for the image,
it is shown both at the end of the first physical line
and at the beginning of the second physical line.

(let* ((header "P4\n160 10\n")
       (make-line (lambda (c) (string-make-unibyte (make-string 20 c))))
       (pbm-img (concat header
			(mapconcat make-line
				   "\xff\x80\x40\x20\x10\x08\x04\x02\x01\xff"
				   ""))))
  (insert "any STRING and TAB and IMAGE\t")
  (insert-image (create-image pbm-img 'pbm t)))

In GNU Emacs 25.1.1 (i686-w64-mingw32)
 of 2016-09-18 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.0.6002
Configured using:
 'configure --host=i686-w64-mingw32 --without-dbus
 --without-compress-install CFLAGS=-static'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:

Load-path shadows:
None found.

Features:
(tabify network-stream nsm starttls tls gnutls mailalias smtpmail
auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv
eieio-core cl-macs gv cus-edit cus-start cus-load wid-edit info misearch
multi-isearch pp shadow sort mail-extr emacsbug message dired
format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns
help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils
time-date mule-util japan-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table
w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 8 139232 85087)
 (symbols 32 26900 0)
 (miscs 32 101 294)
 (strings 16 29481 6366)
 (string-bytes 1 761979)
 (vectors 8 16886)
 (vector-slots 4 630541 15076)
 (floats 8 209 312)
 (intervals 28 4955 3606)
 (buffers 520 29))