Subject: Re: bug#14853: 24.3.50; fill-paragraph doesn't account for whitespace quite right

From: Stefan Kangas <[email-masked]>
Date: Wed, 14 Aug 2019 11:26:43 +0200

[email-masked] writes:

> tags 14853 notabug
> quit
>
> Barry OReilly <[email-masked]> writes:
>
>> On Fri, Jul 12, 2013 at 1:18 PM, Andreas Schwab <[email-masked]>wrote:
>>
>>> See sentence-end-double-space.
>>>
>>>
>> Does it matter when the period is going at the end of the line? In that
>> case there are zero spaces after it. Anyway, I reproduced the issue with
>> sentence-end-double-space t and nil.
>
> With sentence-double-end-space t this
>
> xxxxx xx x xxxxxxx xxxx xxxx xxxxxx xxx xxxxxxx xxxxxxxxxx.  xxxx xx x
> xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx x xxxxxxx xx
> xxxxxxxxxxxxxx.  xxx xxxxxxxxxx xxxxx x xxxxxxxx xxxxxx xxx xxxx xxx'x
> xxx xxx xxxx xxxxx xxxxxxxx xxxxx.
>
> fills to
>
> xxxxx xx x xxxxxxx xxxx xxxx xxxxxx xxx xxxxxxx xxxxxxxxxx.  xxxx xx x
> xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx x xxxxxxx xx xxxxxxxxxxxxxx.
> xxx xxxxxxxxxx xxxxx x xxxxxxxx xxxxxx xxx xxxx xxx'x xxx xxx xxxx
> xxxxx xxxxxxxx xxxxx.
>
> so notabug?

Yes.  When sentence-end-double-space is nil on current master, this
text from the original report:

xxxxx xx x xxxxxxx xxxx xxxx xxxxxx xxx xxxxxxx xxxxxxxxxx. xxxx xx x
xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx x xxxxxxx
xxxxxxxxxxxxxxxx. xxx xxxxxxxxxx xxxxx x xxxxxxxx xxxxxx xxx xxxx
xxx'x xxx xxx xxxx xxxxx xxxxxxxx xxxxx.

Fills to this:

xxxxx xx x xxxxxxx xxxx xxxx xxxxxx xxx xxxxxxx xxxxxxxxxx. xxxx xx x
xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx x xxxxxxx xxxxxxxxxxxxxxxx.
xxx xxxxxxxxxx xxxxx x xxxxxxxx xxxxxx xxx xxxx xxx'x xxx xxx xxxx
xxxxx xxxxxxxx xxxxx.

This is what was indicated as expected in the original report.  I'm
therefore closing this bug.

Thanks,
Stefan Kangas