GNU bug report logs - #27353
25.2; rmail corrupts encoded message if you edit headers

Previous Next

Package: emacs;

Reported by: Ken Olum <kdo <at> cosmos.phy.tufts.edu>

Date: Tue, 13 Jun 2017 23:47:02 UTC

Severity: normal

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 27353 <at> debbugs.gnu.org (full text, mbox):

From: Ken Olum <kdo <at> cosmos.phy.tufts.edu>
To: 26918 <at> debbugs.gnu.org, 27353 <at> debbugs.gnu.org
Subject: rmail-cease-edit patches for bugs 26918 and 27353
Date: Mon, 19 Jun 2017 14:40:24 -0400
[Message part 1 (text/plain, inline)]
Here is a patch to fix rmail editing problems associated with the
content-type header and reapplying the transfer-encoding to edited
messages.

                                        Ken

* lisp/mail/rmailedit.el (rmail-cease-edit): 
If no content-type in edited headers, look for one in original
headers and add it to edited headers (Bug #26918).
Marker to track start of new body, so that content-transfer-encoding
gets applied only to body (Bug #27353).
Ensure blank line at end of message after encoding, not before.

[rmailedit.patch (text/x-diff, attachment)]

This bug report was last modified 7 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.