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
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 11948 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
> Date: Fri, 22 Apr 2022 14:47:23 +0200
>
> Reuben Thomas <rrt <at> sc3d.org> writes:
>
> > I noticed this when in visual-line-mode, and it failed to wrap at an em
> > space (U+2003), but of course there are lotsof other breaking space
> > characters.
>
> Eli, now that we have word-wrap-by-category, wouldn't this be easy to
> implement? I.e., do
>
> (modify-category-entry #x2003 ?|)
>
> for all characters of general-category Zs in character.el? Or would
> that have other negative consequences?
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.
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.
This bug report was last modified 3 years and 86 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.