GNU bug report logs - #9840
23.3; rmail-edit-current-message destroys MIME messages [SEVERE]

Previous Next

Package: emacs;

Reported by: mark.lillibridge <at> hp.com

Date: Sat, 22 Oct 2011 18:44:02 UTC

Severity: serious

Tags: confirmed, fixed

Merged with 13209

Found in version 23.3

Fixed in version 24.0.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mark Lillibridge <mark.lillibridge <at> hp.com>
To: 9840 <at> debbugs.gnu.org
Subject: bug#9840: 23.3; rmail-edit-current-message destroys MIME messages [SEVERE]
Date: Sat, 22 Oct 2011 11:41:11 -0700
    In gnuemacs 23.3.1 (or earlier?), displaying of MIME text parts got
turned on by default.  E.g., buttons like:

[1/1:text/plain Hide]

appear in the message body displayed followed by the decoded text part.

    When you invoke message editing via 'e', rmailedit.el assumes
(mistakenly) that it is dealing with a normal message body (e.g., not
decoded) and lets you edit the buttons and decoded text.  Far, far
worse, when you finish editing, rmailedit.el replaces the original valid
message with the decoded text!  This destroys all the nontext parts and
put the button text in the message itself.  Worse, if you realize
something is wrong and attempt to abort the edit via ^c^[, your message
is still destroyed since rmail-abort-edit just restores the "message
text" (e.g., the decoded view) then calls the normal edit exit code
(rmail-cease-edit).  To add to the fun, if you attempt to abort editing
by killing the rmail buffer, you will lose any other changes made to
that mbox file, including the incorporation of new mail.

Executive summary: if you press 'e' (even accidentally) in Rmail mode
while viewing a MIME message, it will be destroyed the matter what you
do.

- Mark




This bug report was last modified 12 years and 211 days ago.

Previous Next


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