[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17321: 24.3.50; Fill paragraph fails with period in fill-column
From: |
Lars Ingebrigtsen |
Subject: |
bug#17321: 24.3.50; Fill paragraph fails with period in fill-column |
Date: |
Sat, 04 Sep 2021 10:53:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> ;; Don't break after a period followed by just one space.
>> ;; Move back to the previous place to break.
>> ;; The reason is that if a period ends up at the end of a
>> ;; line, further fills will assume it ends a sentence.
>> ;; If we now know it does not end a sentence, avoid putting
>> ;; it at the end of the line.
>
> It's likely that this is causing the problem, but I'm not convinced that
> it justifies the current behavior. IOW, I think it's just a bug.
Ah, this explains the weird behaviour I see from time to time.
If I have
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eius.|
then his a space, I get
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eius. |
Then I type on
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eius. Ut enim ad|
And then hitting `M-q' gives me
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eius.
Ut enim ad|
Anybody against changing this odd behaviour in `fill-nobreak-p'? It's
not quite clear what the overall repercussions would be, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#17321: 24.3.50; Fill paragraph fails with period in fill-column,
Lars Ingebrigtsen <=