GNU bug report logs - #2022
23.0.60; Rmail buffer marked modified after saving it

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 24 Jan 2009 14:30:02 UTC

Severity: minor

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: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 2022 <at> debbugs.gnu.org
Subject: bug#2022: 23.0.60; Rmail buffer marked modified after saving it
Date: Sat, 24 Jan 2009 19:12:15 -0500
Eli Zaretskii wrote:

>   emacs -Q
>   C-u M-x rmail FOO RET
>   C-u g FOO.2 RET
>
> The last command automatically saves the Rmail inbox (as it should),

Yes, and at this point (after the new mail has been inserted) the
buffer is (correctly) marked unmodified.

> but the buffer is nevertheless marked modified after the save.

But immediately after this, rmail-set-attribute is called to remove
the "unseen" attribute from the first new mail inserted from FOO.2.
This (correctly) marks the buffer as modified. If the mails in FOO.2
have already been seen, no buffer modification occurs.




This bug report was last modified 16 years and 141 days ago.

Previous Next


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