[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20871: 25.0.50; fill-single-char-nobreak-p does not recognize a sing
bug#20871: 25.0.50; fill-single-char-nobreak-p does not recognize a single-letter word when it is preceded by an open paren
Mon, 19 Aug 2019 19:16:22 +0300
> From: Michał Nazarewicz <address@hidden>
> Date: Mon, 19 Aug 2019 16:36:15 +0100
> Cc: Mattias Engdegård <address@hidden>, address@hidden,
> > If both functions attempt to produce the same behavior, then yes, we
> > need only one. But then wouldn't we need a second one, to produce the
> > behavior expected, say, in US English?
> The expected behaviour for US English is achieved by not using the
> function at all.
If that's true (and I'm not an expert to say it is), then all we need
is a suitable change to the doc string of fill-nobreak-predicate,
since currently it says nothing about what should be done for English.
> In that case I could see a potential reason to have multiple
> - ‘fill-polish-nobreak-p’ – don’t break after a, e, i, o, u, w or z;
> - ‘fill-czech-nobreak-p’ – don’t break after a, i, k, o, s, u, v or z;
> – ‘fill-single-char-nobreak-p’ – don’t break after any single letter
Don't forget fill-french-nobreak-p.