GNU bug report logs -
#13399
24.3.50; Word-wrap can't wrap at zero-width space U-200B
Previous Next
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 #137 received at 13399 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 08 Dec 2017 17:38:29 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 13399 <at> debbugs.gnu.org
>
> > || ((STRINGP (it->string) \
> > && !NILP (CHAR_TABLE_REF \
> > (Vword_wrap_chars, STRING_CHAR \
> > (SDATA (it->string) + IT_STRING_BYTEPOS (*it))))) \
> > || (it->s && !NILP (CHAR_TABLE_REF \
> > (Vword_wrap_chars, \
> > STRING_CHAR(it->s + IT_BYTEPOS (*it))))) \
One other thought: since TAB and SPC are single-byte characters,
whereas the other "whitespace" characters are not, supporting the
non-ASCII whitespace will be associated with some performance hit in
the display engine, because it requires a char-table look up and
fetching multibyte characters. So perhaps we should allow the
word-wrap-chars char-table to be nil (and make that the default), and
in that case support only TAB and SPC as word-wrap characters. This
would let the default configuration work as fast is it does now,
imposing the performance penalty only on those who want to support
more whitespace characters.
WDYT?
This bug report was last modified 4 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.