GNU bug report logs - #9841
23.3; rmail-edit-current-message adds extra '>'s to Froms...

Previous Next

Package: emacs;

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

Date: Sat, 22 Oct 2011 19:08:02 UTC

Severity: normal

Found in version 23.3

Fixed in version 24.4

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 <mdl <at> alum.mit.edu>
To: <9841 <at> debbugs.gnu.org>, rgm <at> gnu.org
Subject: bug#9841: closed (Re: bug#9841: 23.3; rmail-edit-current-message adds extra '>'s to Froms...)
Date: Tue, 01 Jan 2013 13:53:52 -0800
Glenn Morris <rgm <at> gnu.org> wrote:
> Mark Lillibridge wrote:
> 
> > Start with a Rmail message (this one will do) not containing MIME that
> > contains lines like the following:
> 
> Actually, I can only reproduce this with a message that _is_ MIME, ie
> has a "MIME-version: 1.0" header (which almost everything does).
> For non-MIME messages, rmail-show-message-1 _does_ add >, which is
> why rmail-cease-edit tries to put them back. Anyway, I installed a
> change to make it not do that for MIME messages, which have not been
> unescaped during display.

    You're right; this problem does not occur with non-MIME messages
under 24.2 (my current test system).

    I think your patch may not work correctly if the user adds a "From "
line to a MIME message.  Seems like there are two choices: (1) give an
error in that case and refuse to exit editing (similar to the screwed up
headers case) or (2) unescape From lines when the edit starts and
re-escape them when the edit finishes.  (2) seems friendlier to users as
it means users don't have to manually escape From lines when editing.

- Mark




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

Previous Next


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