GNU bug report logs - #13399
24.3.50; Word-wrap can't wrap at zero-width space U-200B

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Thu, 10 Jan 2013 08:31:02 UTC

Severity: wishlist

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; Word-wrap can't wrap at zero-width space U-200B
Date: Thu, 10 Jan 2013 09:29:25 +0100
With emacs -Q evaluate

(with-current-buffer (get-buffer-create "*foo*")
  (dotimes (i 1000)
    (insert "1234​")) ; U-200B
  (setq word-wrap t)
  (display-buffer "*foo*"))

where the character after 1234 is a zero-width space character with
unicode code point U-200B.  As can be seen in the window showing *foo*,
lines are not regularly wrapped at that character.  Doing

(with-current-buffer (get-buffer-create "*foo*")
  (dotimes (i 1000)
    (insert "1234 "))
  (setq word-wrap t)
  (display-buffer "*foo*"))

instead wraps lines as expected.

Observed with GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-01-07 on MACHNO

martin





This bug report was last modified 4 years and 244 days ago.

Previous Next


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