GNU bug report logs -
#34463
fill-paragraph ruined URL
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Tue, 12 Feb 2019 22:08:01 UTC
Severity: minor
Tags: fixed, patch
Merged with 9286
Fixed in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 34463 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Since Kenichi didn't respond, I think we should study what the Unicode
> Line-breaking Algorithm has to say about that. Can you look there for
> relevant guidance? We don't yet implement the complete algorithm, but
> some of what they say could nevertheless be used to resolve this
> issue.
That would be this:
https://unicode.org/reports/tr14/
I have just skimmed it, but I can't see that it says anything helpful
about filling/folding lines.
If I read it correctly, then it's perfectly allowed to line-break
asdf國
into
asdf
國
But it doesn't say what software should do when filling
asdf
國
Presumably filling that into
asdf國
would be correct in many circumstances, but as Dan said, if it's really
http://google.com
國
then filling that into
http://google.com國
is most likely wrong. So if we want to be cautious, then applying
Chong's patch seems to be the right thing: Adding the space will lead
to things working more of the time, while the downside is that somebody
might prefer
asdf國
visually. I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 238 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.