GNU bug report logs -
#11948
24.1.50; word-wrap should allow wrapping at all breaking space characters, not just space and tab
Previous Next
Reported by: Reuben Thomas <rrt <at> sc3d.org>
Date: Mon, 16 Jul 2012 12:49:02 UTC
Severity: wishlist
Found in version 24.1.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> Yes, now people who want what the OP wanted should be able to have
> that easily. But I would hesitate making that the default, instead
> leaving it to user customizations. We could have a minor mode to do
> that, though, so that users who want this won't need to customize
> individually each character's category set.
Sure, a minor mode would work well here.
> Of course, the harder part here is to decide which of the Zs
> characters will allow word-wrap on them. I don't think all of them
> should.
Looking over these:
17 matches for "Zs" in buffer: UnicodeData.txt
33:0020;SPACE;Zs;0;WS;;;;;N;;;;;
161:00A0;NO-BREAK SPACE;Zs;0;CS;<noBreak> 0020;;;;N;NON-BREAKING SPACE;;;;
5187:1680;OGHAM SPACE MARK;Zs;0;WS;;;;;N;;;;;
7354:2000;EN QUAD;Zs;0;WS;2002;;;;N;;;;;
7355:2001;EM QUAD;Zs;0;WS;2003;;;;N;;;;;
7356:2002;EN SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7357:2003;EM SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7358:2004;THREE-PER-EM SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7359:2005;FOUR-PER-EM SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7360:2006;SIX-PER-EM SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7361:2007;FIGURE SPACE;Zs;0;WS;<noBreak> 0020;;;;N;;;;;
7362:2008;PUNCTUATION SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7363:2009;THIN SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7364:200A;HAIR SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
7401:202F;NARROW NO-BREAK SPACE;Zs;0;CS;<noBreak> 0020;;;;N;;;;;
7449:205F;MEDIUM MATHEMATICAL SPACE;Zs;0;WS;<compat> 0020;;;;N;;;;;
11232:3000;IDEOGRAPHIC SPACE;Zs;0;WS;<wide> 0020;;;;N;;;;;
I think only the no-break ones shouldn't trigger wrapping?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 85 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.