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

Package: emacs;

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


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 11948 <at> debbugs.gnu.org, Reuben Thomas <rrt <at> sc3d.org>
Subject: Re: bug#11948: 24.1.50;
	word-wrap should allow wrapping at all breaking space characters,
	not	just space and tab
Date: Mon, 16 Jul 2012 16:37:25 -0400
>> 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.
> A prerequisite for doing something about this is to decide which
> characters should allow breaking the line.  Is there some guidance in
> the Unicode standard or elsewhere about this?  If not, we will have to
> decide on our own.

I think the issue here is whether we want to "render" the text, or
whether we want to show the file's content to the user.

For text-rendering, any space-like thingy that Unicode says isn't
unbreakable would probably be fine, but for the other case, it can
be important for the user to see the difference between a normal space
and some other space and wrapping the line can hide the difference.

Maybe we can rely on a variable such as nobreak-char-display (where
there's a similar issue).


        Stefan




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.