[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39580: 26.2; missing newline in fcc when output file is in an rmail
From: |
Lars Ingebrigtsen |
Subject: |
bug#39580: 26.2; missing newline in fcc when output file is in an rmail buffer |
Date: |
Tue, 27 Oct 2020 19:14:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ken Olum <kdo@cosmos.phy.tufts.edu> writes:
> The function gnus-output-to-rmail fails to ensure a blank line at the
> end of the message being output in the case where the output file is an
> mbox file viewed in an rmail buffer. The needed code is in this
> function, but triggers only when the output file is not in a buffer.
> This causes messages in the output file to be merged together.
>
> To reproduce:
>
> emacs -Q
> C-x m to compose message
> edit outgoing message to add a line "Fcc: test-save" (for example) and
> some body that does not have a blank line at the end.
> C-c C-c to send message
> Visit "test-save"
> M-x rmail-mode
> Select buffer "*sent mail to ...*"
> C-c C-c to send message again
>
> File "test-save" is now corrupt because it lacks a blank line at the
> end.
I'm able to reproduce this bug, but I'm not sure how
gnus-output-to-rmail is involved here? As far as I can see, it's never
called by Message, and instead `message-output' is called to create the
file.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#39580: 26.2; missing newline in fcc when output file is in an rmail buffer,
Lars Ingebrigtsen <=