From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#2022: 23.0.60; Rmail buffer marked modified after saving it Date: Sat, 24 Jan 2009 19:12:15 -0500 Message-ID: References: Reply-To: Glenn Morris , 2022@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232843085 32698 80.91.229.12 (25 Jan 2009 00:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 00:24:45 +0000 (UTC) Cc: 2022@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 01:25:58 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQsp3-0007Kn-55 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 01:25:57 +0100 Original-Received: from localhost ([127.0.0.1]:54287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQsnl-00081T-CG for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2009 19:24:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQsmj-0007Eh-3v for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 19:23:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQsmh-0007Dr-HC for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 19:23:32 -0500 Original-Received: from [199.232.76.173] (port=33262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQsmh-0007Dn-9q for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 19:23:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60448) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQsmg-0003qw-PK for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 19:23:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0P0NS2W027268; Sat, 24 Jan 2009 16:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0P0K5e6026277; Sat, 24 Jan 2009 16:20:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Sun, 25 Jan 2009 00:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2022 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Original-Received: via spool by 2022-submit@emacsbugs.donarmstrong.com id=B2022.123284243924883 (code B ref 2022); Sun, 25 Jan 2009 00:20:05 +0000 Original-Received: (at 2022) by emacsbugs.donarmstrong.com; 25 Jan 2009 00:13:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0P0DqlT024877 for <2022@emacsbugs.donarmstrong.com>; Sat, 24 Jan 2009 16:13:53 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LQsbn-00008F-FX; Sat, 24 Jan 2009 19:12:15 -0500 X-Spook: class struggle United Nations chameleon man airframe X-Ran: V`aazi%fK#fC6.Pab1B7vaG:^zP4APMxTS|5kn?'FC@]yS?VWjuIutC4|_/~JQ!]3-IjoU X-Hue: white X-Attribution: GM In-Reply-To: (Eli Zaretskii's message of "Sat, 24 Jan 2009 16:24:37 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 24 Jan 2009 19:23:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24478 Archived-At: 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.