unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 2022@emacsbugs.donarmstrong.com
Subject: bug#2022: 23.0.60; Rmail buffer marked modified after saving it
Date: Sat, 24 Jan 2009 19:12:15 -0500	[thread overview]
Message-ID: <ik7i4ktfa8.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <ueiysu6hm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Jan 2009 16:24:37 +0200")

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.






  reply	other threads:[~2009-01-25  0:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d47i33tinn.fsf@fencepost.gnu.org>
2009-01-24 14:24 ` bug#2022: 23.0.60; Rmail buffer marked modified after saving it Eli Zaretskii
2009-01-25  0:12   ` Glenn Morris [this message]
2009-01-25  4:22     ` Eli Zaretskii
2009-01-25  5:57       ` Glenn Morris
2009-01-25 18:59         ` Eli Zaretskii
2009-01-25 20:45           ` Glenn Morris
2009-01-25 21:03             ` Eli Zaretskii
2009-01-26  1:53               ` Glenn Morris
2009-01-29 22:06                 ` Glenn Morris
2009-01-30  9:29                   ` Eli Zaretskii
2009-01-30 17:38                     ` Glenn Morris
2009-01-30 23:05                     ` Richard M Stallman
2009-01-31  4:17                       ` Kevin Rodgers
2009-01-31  8:25                       ` Eli Zaretskii
2009-01-25  1:53   ` Richard M Stallman
2009-01-25  3:10     ` Glenn Morris
2009-01-25  4:19       ` Eli Zaretskii
2009-01-25  5:54         ` Glenn Morris
2009-01-25  5:59           ` Glenn Morris
2009-01-25 18:35             ` Eli Zaretskii
2009-01-26  4:22       ` Richard M Stallman
2009-01-26  7:25         ` Glenn Morris
2009-01-26 21:32           ` Stefan Monnier
2009-01-27  6:11           ` Richard M Stallman
2009-01-27  7:51             ` Glenn Morris
2009-01-25  4:20     ` Eli Zaretskii
2009-03-06  3:55   ` bug#2022: marked as done (23.0.60; Rmail buffer marked modified after saving it) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ik7i4ktfa8.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=2022@emacsbugs.donarmstrong.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).