bug#72870: [PATCH] Flow fill texts after the last hard newline

2024-09-08 Thread Pengji Zhang
Pengji Zhang writes: Eli Zaretskii writes: AFAICT, this function exists for the special case of decoding email messages. Can email messages have flowed-encoded text without a hard newline at the end? I think you meant "encoding"? Anyway, if I understand it correctly, an email message s

bug#72870: [PATCH] Flow fill texts after the last hard newline

2024-09-08 Thread Pengji Zhang
Eli Zaretskii writes: AFAICT, this function exists for the special case of decoding email messages. Can email messages have flowed-encoded text without a hard newline at the end? I think you meant "encoding"? Anyway, if I understand it correctly, an email message should always end with a n

bug#72870: [PATCH] Flow fill texts after the last hard newline

2024-09-07 Thread Eli Zaretskii
> From: Pengji Zhang > Date: Thu, 29 Aug 2024 18:44:36 +0800 > > I found that function `fill-flowed-encode' would not fill texts > after the last hard newline in a buffer. To reproduce, run 'emacs > -Q' and then evaluate the following snippet: > > --8<---cut here---star