From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 31 Jan 2009 19:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2137 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123342954029789 (code B ref -1); Sat, 31 Jan 2009 19:25:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jan 2009 19:19:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n0VJIv0L029783 for ; Sat, 31 Jan 2009 11:18:58 -0800 Received: from mail.gnu.org ([199.232.76.166]:33797 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTLL7-0007CA-8M for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:17:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTLH4-00089z-E2 for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:13:03 -0500 Received: from mtaout2.012.net.il ([84.95.2.4]:58527) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTLH4-00089r-0e for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:13:02 -0500 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEC00000NXL2T00@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 21:13:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEC006A8O28DVN0@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 21:13:21 +0200 (IST) Date: Sat, 31 Jan 2009 21:13:03 +0200 From: Eli Zaretskii To: emacs-pretest-bug@gnu.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org maili= ng list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In an Rmail buffer, type "C-x C-s" to save it: you will almost never see the usual "Saving file FOO..." message, because buffer-soze, called by save-buffer, returns the size of the current message, not o= f the entire message collection. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2009-01-31 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x l o a f d d - f i =20 l i s / f i l e s . e l C-x=20 C-f C-s s a v i n g SPC =20 f i l e SPC C-s=20 C-s C-r C-r C-r M-x e d e b u d e =20 C-u M-x r m a i l ~ / d a I=20 N B O X . n e w n p o d a f o=20 o 1 2 3 4 5 . m b b y e s C-x C-s=20 SPC SPC SPC SPC SPC SPC SPC G M-x r e p o r t =20 Recent messages: Added to d:/usr/eli/data/foo12345.mbb [2 times] Result: t [3 times] Result: 5470 (#o12536, #x155e, ?=E1=95=9E) Result: nil Go-Nonstop... Wrote d:/usr/eli/data/INBOX.new From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: rms@gnu.org, 2137@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 01 Feb 2009 23:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123352862918336 (code B ref 2137); Sun, 01 Feb 2009 23:00:04 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 1 Feb 2009 22:50:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n11MoMvf018330 for <2137@emacsbugs.donarmstrong.com>; Sun, 1 Feb 2009 14:50:23 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTl7F-00057o-7k; Sun, 01 Feb 2009 17:48:37 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: Eli Zaretskii , 2137@debbugs.gnu.org cc: emacs-devel@gnu.org In-reply-to: (message from Eli Zaretskii on Sat, 31 Jan 2009 21:13:03 +0200) References: Message-Id: Date: Sun, 01 Feb 2009 17:48:37 -0500 In an Rmail buffer, type "C-x C-s" to save it: you will almost never see the usual "Saving file FOO..." message, because buffer-soze, called by save-buffer, returns the size of the current message, not of the entire message collection. The clean way to fix this is with something like `buffer-swapped-with'. I did not remember the existence of this feature when I recommended implementing `buffer-swapped-with', so I can't really say "I told you so." But there is a general tendency that these sorts of features need to be checked and acted on in various places in the code, and most of them don't have any hooks. From rgm@gnu.org Sun Feb 1 23:11:53 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Feb 2009 07:11:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=MURPHY_DRUGS_REL8, VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n127Bpnq013959 for ; Sun, 1 Feb 2009 23:11:52 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTswV-0000VE-Ll; Mon, 02 Feb 2009 02:10:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18822.40011.133086.730105@fencepost.gnu.org> Date: Mon, 2 Feb 2009 02:10:03 -0500 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes reassign 2139 spam reassign 2142 spam reassign 2143 spam reassign 2141 emacs,cc-mode reassign 2135 emacs,rmail reassign 2137 emacs,rmail reassign 2150 emacs,rmail severity 2145 wishlist tags 2134 - patch merge 801 2134 From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Mon, 02 Feb 2009 17:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12335945522077 (code B ref 2137); Mon, 02 Feb 2009 17:15:07 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 2 Feb 2009 17:09:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12H99gY002071 for <2137@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 09:09:11 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEAD+3hknO+IQk/2dsb2JhbACBbsozhBQGgmw X-IronPort-AV: E=Sophos;i="4.37,366,1231131600"; d="scan'208";a="33208394" Received: from 206-248-132-36.dsl.teksavvy.com (HELO ceviche.home) ([206.248.132.36]) by ironport2-out.teksavvy.com with ESMTP; 02 Feb 2009 12:09:04 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 42D82B4499; Sun, 1 Feb 2009 20:35:12 -0500 (EST) From: Stefan Monnier To: rms@gnu.org Cc: Eli Zaretskii , 2137@debbugs.gnu.org, emacs-devel@gnu.org Message-ID: References: Date: Sun, 01 Feb 2009 20:35:12 -0500 In-Reply-To: (Richard M. Stallman's message of "Sun, 01 Feb 2009 17:48:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > In an Rmail buffer, type "C-x C-s" to save it: you will almost never > see the usual "Saving file FOO..." message, because buffer-soze, > called by save-buffer, returns the size of the current message, not of > the entire message collection. > The clean way to fix this is with something like `buffer-swapped-with'. > I did not remember the existence of this feature when I recommended > implementing `buffer-swapped-with', so I can't really say "I told you > so." But there is a general tendency that these sorts of features > need to be checked and acted on in various places in the code, and > most of them don't have any hooks. This problem at least simply points to a current bug in save-buffer. Maybe with buffer-swapped-with you could work around the bug rather than fixing it. Or even fail to see that it's a general bug rather than a problem with buffer-swapped-with. I'm not sure it's a benefit. Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Mon, 02 Feb 2009 21:15:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123360873829916 (code B ref 2137); Mon, 02 Feb 2009 21:15:06 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 2 Feb 2009 21:05:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12L5Yk2029905 for <2137@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 13:05:36 -0800 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KEG00800IKFCT00@i-mtaout7.012.net.il> for 2137@emacsbugs.donarmstrong.com; Mon, 02 Feb 2009 23:05:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEG00GR4IL4TUB0@i-mtaout7.012.net.il>; Mon, 02 Feb 2009 23:05:29 +0200 (IST) Date: Mon, 02 Feb 2009 23:05:11 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Cc: rms@gnu.org, 2137@debbugs.gnu.org, emacs-devel@gnu.org Message-id: References: > From: Stefan Monnier > Cc: Eli Zaretskii , 2137@emacsbugs.donarmstrong.com, emacs-devel@gnu.org > Date: Sun, 01 Feb 2009 20:35:12 -0500 > > This problem at least simply points to a current bug in save-buffer. Which bug is that? From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Glenn Morris , 2137@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 04:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12336344536338 (code B ref 2137); Tue, 03 Feb 2009 04:20:02 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 04:14:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n134EAn5006330 for <2137@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 20:14:11 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LUCe7-0001NS-4Z; Mon, 02 Feb 2009 23:12:23 -0500 From: Glenn Morris To: Eli Zaretskii Cc: Stefan Monnier , rms@gnu.org, 2137@debbugs.gnu.org References: X-Spook: MILSATCOM radar undercover Hamas constitution Sundevil X-Ran: MMGzZx47X^l0&|B,M}ic$kO2 User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eli Zaretskii wrote: >> This problem at least simply points to a current bug in save-buffer. > > Which bug is that? Well, one thing I wonder about is: how does it know the correct buffer _contents_, but not the correct buffer _size_... (Ie, why isn't it overwriting your mailbox file with just the current message you happen to be viewing at the time?) From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: rms@gnu.org, 2137@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 10:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123365528629097 (code B ref 2137); Tue, 03 Feb 2009 10:10:05 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 10:01:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n13A1NZw029091 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 02:01:24 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LUI48-0004DQ-9b; Tue, 03 Feb 2009 04:59:36 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: Stefan Monnier , 2137@debbugs.gnu.org CC: eliz@gnu.org, 2137@debbugs.gnu.org, emacs-devel@gnu.org In-reply-to: (message from Stefan Monnier on Sun, 01 Feb 2009 20:35:12 -0500) References: Message-Id: Date: Tue, 03 Feb 2009 04:59:36 -0500 This problem at least simply points to a current bug in save-buffer. It is a bug, for certain. What I'm saying is that it is easy to fix with something like `buffer-swapped-with', and hard to fix otherwise. From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 19:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123368953411888 (code B ref 2137); Tue, 03 Feb 2009 19:40:03 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 19:32:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13JW9os011882 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 11:32:11 -0800 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KEI00J008TTCS00@i-mtaout6.012.net.il> for 2137@emacsbugs.donarmstrong.com; Tue, 03 Feb 2009 21:32:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEI00GIW8XRUWO0@i-mtaout6.012.net.il>; Tue, 03 Feb 2009 21:32:16 +0200 (IST) Date: Tue, 03 Feb 2009 21:31:59 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Cc: monnier@iro.umontreal.ca, rms@gnu.org, 2137@debbugs.gnu.org Message-id: References: > From: Glenn Morris > Cc: Stefan Monnier , rms@gnu.org, 2137@emacsbugs.donarmstrong.com > Date: Mon, 02 Feb 2009 23:12:23 -0500 > > Eli Zaretskii wrote: > > >> This problem at least simply points to a current bug in save-buffer. > > > > Which bug is that? > > Well, one thing I wonder about is: how does it know the correct buffer > _contents_, but not the correct buffer _size_... > > (Ie, why isn't it overwriting your mailbox file with just the current > message you happen to be viewing at the time?) See rmail-write-region-annotate: it switches to the right buffer just in time for write-region to save the correct text, but buffer-size is called before that. IMO, using annotations for the job of saving the mailbox is also a horrible kludge. All that just to avoid defining an Rmail-specific binding for C-x C-s ... From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 19:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123369001913864 (code B ref 2137); Tue, 03 Feb 2009 19:50:03 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 19:40:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout5.012.net.il (mtaout5.012.net.il [84.95.2.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13JeA5a013335 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 11:40:12 -0800 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KEI00B0092YWY00@i_mtaout5.012.net.il> for 2137@emacsbugs.donarmstrong.com; Tue, 03 Feb 2009 21:39:59 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEI00DZ99AMKZ90@i_mtaout5.012.net.il>; Tue, 03 Feb 2009 21:39:59 +0200 (IST) Date: Tue, 03 Feb 2009 21:39:44 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Cc: monnier@iro.umontreal.ca, 2137@debbugs.gnu.org Message-id: References: > From: Richard M Stallman > CC: eliz@gnu.org, 2137@emacsbugs.donarmstrong.com, emacs-devel@gnu.org > Date: Tue, 03 Feb 2009 04:59:36 -0500 > > This problem at least simply points to a current bug in save-buffer. > > It is a bug, for certain. What I'm saying is that it is easy to fix > with something like `buffer-swapped-with', and hard to fix otherwise. Okay, I give up: what (or who) is `buffer-swapped-with', and how is it related to this issue? As for an alternative for fixing this, if the current kludgey way of using annotations for switching to the right buffer behind save-buffer's back is acceptable, we could add to rmail-write-region-annotate another hack: a call to buffer-size followed by the same message "Saving file ..." that should have been displayed by save-buffer. From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 21:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12336963908835 (code B ref 2137); Tue, 03 Feb 2009 21:35:03 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:26:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13LQMmU008829 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 13:26:24 -0800 Received: from alfajor.home (vpn-132-204-232-163.acd.umontreal.ca [132.204.232.163]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n13LQLLJ018119; Tue, 3 Feb 2009 16:26:21 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 5E706A22D1; Tue, 3 Feb 2009 16:26:21 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Cc: Glenn Morris , rms@gnu.org, 2137@debbugs.gnu.org Message-ID: References: Date: Tue, 03 Feb 2009 16:26:21 -0500 In-Reply-To: (Eli Zaretskii's message of "Tue, 03 Feb 2009 21:31:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 > IMO, using annotations for the job of saving the mailbox is also a > horrible kludge. All that just to avoid defining an Rmail-specific > binding for C-x C-s ... Thanks for your support, Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 21:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12336965538870 (code B ref 2137); Tue, 03 Feb 2009 21:35:05 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:29:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13LTAel008864 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 13:29:11 -0800 Received: from alfajor.home (vpn-132-204-232-163.acd.umontreal.ca [132.204.232.163]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n13LT9Fo018322; Tue, 3 Feb 2009 16:29:09 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 25DB0A22D1; Tue, 3 Feb 2009 16:29:09 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Cc: rms@gnu.org, 2137@debbugs.gnu.org, emacs-devel@gnu.org Message-ID: References: Date: Tue, 03 Feb 2009 16:29:08 -0500 In-Reply-To: (Eli Zaretskii's message of "Mon, 02 Feb 2009 23:05:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 >> This problem at least simply points to a current bug in save-buffer. > Which bug is that? The bug is that is uses buffer-size to determine the size of the file, without taking into account the fact that write-region-annotate-functions can add lot of stuff to the file that's not in the buffer's text. The simplest fix is to simply always output the message rather than only for files larger than 50KB. The more difficult one is to move the message from save-buffer to write-region. Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 04:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123372097214296 (code B ref 2137); Wed, 04 Feb 2009 04:25:04 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 04:16:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n144G86G014290 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 20:16:10 -0800 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KEI00400WSMAU00@i-mtaout1.012.net.il> for 2137@emacsbugs.donarmstrong.com; Wed, 04 Feb 2009 06:16:17 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEI00AEIX74SBM0@i-mtaout1.012.net.il>; Wed, 04 Feb 2009 06:16:17 +0200 (IST) Date: Wed, 04 Feb 2009 06:16:00 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Cc: rms@gnu.org, 2137@debbugs.gnu.org, emacs-devel@gnu.org Message-id: References: > From: Stefan Monnier > Cc: rms@gnu.org, 2137@emacsbugs.donarmstrong.com, emacs-devel@gnu.org > Date: Tue, 03 Feb 2009 16:29:08 -0500 > > >> This problem at least simply points to a current bug in save-buffer. > > Which bug is that? > > The bug is that is uses buffer-size to determine the size of the file, > without taking into account the fact that > write-region-annotate-functions can add lot of stuff to the file that's > not in the buffer's text. How can buffer-size take that into account? The correct full size of what's written to the disk file is never seen, since write-region does its job piecemeal, and the annotations are applied separately to each piece by a_write. Am I missing something? > The simplest fix is to simply always output the message rather than only > for files larger than 50KB. That may be the only (non-kludgey) solution. > The more difficult one is to move the message from save-buffer to > write-region. If I'm right above, this won't solve the case where annotations add a lot. From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 04:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123372149015520 (code B ref 2137); Wed, 04 Feb 2009 04:30:03 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 04:24:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout5.012.net.il (mtaout5.012.net.il [84.95.2.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n144Okdr015514 for <2137@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 20:24:48 -0800 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KEI00H00XF7X700@i_mtaout5.012.net.il> for 2137@emacsbugs.donarmstrong.com; Wed, 04 Feb 2009 06:23:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEI00J35XJSJRO2@i_mtaout5.012.net.il>; Wed, 04 Feb 2009 06:23:53 +0200 (IST) Date: Wed, 04 Feb 2009 06:23:38 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Cc: rgm@gnu.org, rms@gnu.org, 2137@debbugs.gnu.org Message-id: References: > From: Stefan Monnier > Cc: Glenn Morris , rms@gnu.org, 2137@emacsbugs.donarmstrong.com > Date: Tue, 03 Feb 2009 16:26:21 -0500 > > > IMO, using annotations for the job of saving the mailbox is also a > > horrible kludge. All that just to avoid defining an Rmail-specific > > binding for C-x C-s ... > > Thanks for your support, Btw, isn't there's one more misfeature with write-region due to rmail-write-region-annotate: if you use write-region to save a portion of the current message to a file, would Rmail do that from the message collection buffer instead? if so, what would be the encoding of non-ASCII characters in the region as saved to the file? From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12337721681283 (code B ref 2137); Wed, 04 Feb 2009 18:35:02 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 18:29:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14ITO1p001277 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 10:29:26 -0800 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEK008000K64O00@i_mtaout2.012.net.il> for 2137@emacsbugs.donarmstrong.com; Wed, 04 Feb 2009 20:29:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEK00EW30PGD660@i_mtaout2.012.net.il>; Wed, 04 Feb 2009 20:29:42 +0200 (IST) Date: Wed, 04 Feb 2009 20:29:17 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: 2137@debbugs.gnu.org Cc: monnier@IRO.UMontreal.CA, rms@gnu.org Message-id: References: > From: Eli Zaretskii > Cc: rms@gnu.org, 2137@emacsbugs.donarmstrong.com > > Btw, isn't there's one more misfeature with write-region due to > rmail-write-region-annotate: if you use write-region to save a portion > of the current message to a file, would Rmail do that from the message > collection buffer instead? To answer myself: no, rmail-write-region-annotate does nothing if write-region is invoked with its START argument non-nil (which means to write only a portion of the current buffer). So in this case, the current message will be written to the file using buffer-file-coding-system, as the user should expect. Sorry for the noise. From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: rms@gnu.org, 2137@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 18:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12337721821293 (code B ref 2137); Wed, 04 Feb 2009 18:35:04 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 18:29:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n14ITdh2001286 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 10:29:40 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LUmTV-0000Gb-QB; Wed, 04 Feb 2009 13:27:49 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: Stefan Monnier CC: eliz@gnu.org, rgm@gnu.org, 2137@debbugs.gnu.org In-reply-to: (message from Stefan Monnier on Tue, 03 Feb 2009 16:26:21 -0500) References: Message-Id: Date: Wed, 04 Feb 2009 13:27:49 -0500 > IMO, using annotations for the job of saving the mailbox is also a > horrible kludge. All that just to avoid defining an Rmail-specific > binding for C-x C-s ... Thanks for your support, An Rmail-specific binding for C-x C-s is not enough to make saving work correctly. Users can save the file through C-x s also, and other commands too. The common mechanism for these commands is `save-buffer'; whatever makes them save the right text has to work inside there. Eli wrote: we could add to rmail-write-region-annotate another hack: a call to buffer-size followed by the same message "Saving file ..." that should have been displayed by save-buffer. The difficulty here is to display that message only in the case where the hook was ultimately called from `save-buffer'. This could be done by making `save-buffer' bind some variable for such hooks to check. However, such fixes are less clean that implementing `buffer-swapped-with' and checking it in the necessary places. I previously implemented it in `basic-save-buffer', but just moving the implementation to `save-buffer' would make it DTRT for this. The fix would add no complexity. The simplest fix is to simply always output the message rather than only for files larger than 50KB. That would be easy, but not quite the most convenient behavior. The more difficult one is to move the message from save-buffer to write-region. From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 19:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123377681521240 (code B ref 2137); Wed, 04 Feb 2009 19:55:04 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 19:46:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14JkpAl021234 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 11:46:52 -0800 Received: from alfajor.home (vpn-132-204-232-41.acd.umontreal.ca [132.204.232.41]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n14JlUBB005812; Wed, 4 Feb 2009 14:47:30 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 52C1FA22D8; Wed, 4 Feb 2009 14:46:49 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Cc: rms@gnu.org, 2137@debbugs.gnu.org, emacs-devel@gnu.org Message-ID: References: Date: Wed, 04 Feb 2009 14:46:49 -0500 In-Reply-To: (Eli Zaretskii's message of "Wed, 04 Feb 2009 06:16:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3204=0 >> The bug is that is uses buffer-size to determine the size of the file, >> without taking into account the fact that >> write-region-annotate-functions can add lot of stuff to the file that's >> not in the buffer's text. > How can buffer-size take that into account? It can't. Luckily we don't have to use buffer-size for that. > The correct full size of what's written to the disk file is never > seen, since write-region does its job piecemeal, and the annotations > are applied separately to each piece by a_write. Indeed. > Am I missing something? We do have all the annotations in a single place, so we can compute the final total size before we start writing. >> The simplest fix is to simply always output the message rather than only >> for files larger than 50KB. > That may be the only (non-kludgey) solution. Yes, I find it to be the best solution. I see no benefit in avoiding the message for smaller files. Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 19:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123377698921276 (code B ref 2137); Wed, 04 Feb 2009 19:55:05 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 19:49:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14JnfMH021270 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 11:49:43 -0800 Received: from alfajor.home (vpn-132-204-232-41.acd.umontreal.ca [132.204.232.41]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n14JoMD0006016; Wed, 4 Feb 2009 14:50:22 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 1E9ACA22D8; Wed, 4 Feb 2009 14:49:41 -0500 (EST) From: Stefan Monnier To: rms@gnu.org Cc: eliz@gnu.org, rgm@gnu.org, 2137@debbugs.gnu.org Message-ID: References: Date: Wed, 04 Feb 2009 14:49:40 -0500 In-Reply-To: (Richard M. Stallman's message of "Wed, 04 Feb 2009 13:27:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3204=0 > An Rmail-specific binding for C-x C-s is not enough to make saving > work correctly. Users can save the file through C-x s also, and other > commands too. The common mechanism for these commands is > `save-buffer'; whatever makes them save the right text has to work > inside there. save-buffer is not enough either in order to handle `autosave' (which was the original reason for my using write-region-annotate-functions rather than write-contents-functions). > The simplest fix is to simply always output the message rather than only > for files larger than 50KB. > That would be easy, but not quite the most convenient behavior. What would be the harm? Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 20:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123377841628037 (code B ref 2137); Wed, 04 Feb 2009 20:20:03 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 20:13:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14KDRfX028026 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 12:13:29 -0800 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KEK00I004VQK200@i-mtaout6.012.net.il> for 2137@emacsbugs.donarmstrong.com; Wed, 04 Feb 2009 22:13:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEK001CP5HYW860@i-mtaout6.012.net.il>; Wed, 04 Feb 2009 22:13:11 +0200 (IST) Date: Wed, 04 Feb 2009 22:12:47 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Cc: monnier@IRO.UMontreal.CA, rgm@gnu.org, 2137@debbugs.gnu.org Message-id: References: > From: Richard M Stallman > CC: eliz@gnu.org, rgm@gnu.org, 2137@emacsbugs.donarmstrong.com > Date: Wed, 04 Feb 2009 13:27:49 -0500 > > > IMO, using annotations for the job of saving the mailbox is also a > > horrible kludge. All that just to avoid defining an Rmail-specific > > binding for C-x C-s ... > > Thanks for your support, > > An Rmail-specific binding for C-x C-s is not enough to make saving > work correctly. Users can save the file through C-x s also, and other > commands too. The common mechanism for these commands is > `save-buffer'; whatever makes them save the right text has to work > inside there. So we could introduce some mechanism specific for such situation, like some hook that save-buffer would call or something. Annotations just aren't that mechanism, they exist to add text to the buffer before it is written. > we could add to > rmail-write-region-annotate another hack: a call to buffer-size > followed by the same message "Saving file ..." that should have been > displayed by save-buffer. > > The difficulty here is to display that message only in the case > where the hook was ultimately called from `save-buffer'. rmail-write-region-annotate uses its first argument to deduce that it is being called to write the entire buffer. Why couldn't the same logic be used for the message? From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Eli Zaretskii , 2137@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 20:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123377849328052 (code B ref 2137); Wed, 04 Feb 2009 20:20:05 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 20:14:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout5.012.net.il (mtaout5.012.net.il [84.95.2.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14KEnmC028046 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 12:14:51 -0800 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KEK00L005KTY700@i_mtaout5.012.net.il> for 2137@emacsbugs.donarmstrong.com; Wed, 04 Feb 2009 22:14:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.158.130]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEK00DMY5KRM1G1@i_mtaout5.012.net.il>; Wed, 04 Feb 2009 22:14:54 +0200 (IST) Date: Wed, 04 Feb 2009 22:14:30 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Cc: rms@gnu.org, rgm@gnu.org, 2137@debbugs.gnu.org Message-id: References: > From: Stefan Monnier > Cc: eliz@gnu.org, rgm@gnu.org, 2137@emacsbugs.donarmstrong.com > Date: Wed, 04 Feb 2009 14:49:40 -0500 > > > An Rmail-specific binding for C-x C-s is not enough to make saving > > work correctly. Users can save the file through C-x s also, and other > > commands too. The common mechanism for these commands is > > `save-buffer'; whatever makes them save the right text has to work > > inside there. > > save-buffer is not enough either in order to handle `autosave' Why? There's no need to autosave the buffer in which we show messages, and the buffer where the whole collection is held, if it's modified, will be autosaved by the usual machinery. What am I missing? From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: Stefan Monnier , 2137@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Wed, 04 Feb 2009 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123378971411102 (code B ref 2137); Wed, 04 Feb 2009 23:30:02 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 4 Feb 2009 23:21:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14NLop6011096 for <2137@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 15:21:52 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIEACOyiUlFxIvi/2dsb2JhbACBbs8KhBYGgwI X-IronPort-AV: E=Sophos;i="4.37,381,1231131600"; d="scan'208";a="33341387" Received: from 69-196-139-226.dsl.teksavvy.com (HELO pastel.home) ([69.196.139.226]) by ironport2-out.teksavvy.com with ESMTP; 04 Feb 2009 18:21:40 -0500 Received: by pastel.home (Postfix, from userid 20848) id 17E0C83D4; Wed, 4 Feb 2009 18:21:39 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Cc: rms@gnu.org, rgm@gnu.org, 2137@debbugs.gnu.org Message-ID: References: Date: Wed, 04 Feb 2009 18:21:39 -0500 In-Reply-To: (Eli Zaretskii's message of "Wed, 04 Feb 2009 22:14:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Why? There's no need to autosave the buffer in which we show > messages, and the buffer where the whole collection is held, if it's > modified, will be autosaved by the usual machinery. What am I > missing? The buffer where the `mbox' is held doesn't have a buffer-file-name (the view buffer has buffer-file-name set instead, so without write-region-annotate-functions, the autosave file contains the currently shown message rather than a copy of the mbox). Stefan From unknown Fri Sep 12 04:34:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Reply-To: rms@gnu.org, 2137@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Thu, 05 Feb 2009 16:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.123385209711938 (code B ref 2137); Thu, 05 Feb 2009 16:50:05 +0000 Received: (at 2137) by emacsbugs.donarmstrong.com; 5 Feb 2009 16:41:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n15GfTPx011932 for <2137@emacsbugs.donarmstrong.com>; Thu, 5 Feb 2009 08:41:31 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LV7GN-0002aQ-OM; Thu, 05 Feb 2009 11:39:39 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: Stefan Monnier , 2137@debbugs.gnu.org CC: 2137@debbugs.gnu.org In-reply-to: (message from Stefan Monnier on Wed, 04 Feb 2009 14:49:40 -0500) References: Message-Id: Date: Thu, 05 Feb 2009 11:39:39 -0500 save-buffer is not enough either in order to handle `autosave' (which was the original reason for my using write-region-annotate-functions rather than write-contents-functions). That is true -- the implementation of saving for Rmail buffers needs to handle auto-save one way or another. That doesn't necessarily mean it has to work through this hook. > The simplest fix is to simply always output the message rather than only > for files larger than 50KB. > That would be easy, but not quite the most convenient behavior. What would be the harm? Nowadays, I guess it is ok to display the message for all files. From unknown Fri Sep 12 04:34:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Eli Zaretskii Subject: bug#2137 closed by Eli Zaretskii (Re: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message) Message-ID: References: X-Emacs-PR-Message: they-closed 2137 X-Emacs-PR-Package: emacs,rmail Reply-To: 2137@debbugs.gnu.org Date: Sat, 07 Feb 2009 10:35:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1234002904-29214-1" This is a multi-part message in MIME format... ------------=_1234002904-29214-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,rmail package: #2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." mes= sage It has been closed by Eli Zaretskii . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Eli Zaretskii by replying to this email. --=20 2137: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2137 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1234002904-29214-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2137-done) by emacsbugs.donarmstrong.com; 7 Feb 2009 10:25:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17AP3Ib026801 for <2137-done@emacsbugs.donarmstrong.com>; Sat, 7 Feb 2009 02:25:05 -0800 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KEO00700Y0OU900@i-mtaout7.012.net.il> for 2137-done@emacsbugs.donarmstrong.com; Sat, 07 Feb 2009 12:24:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.238.131]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEO003YWY98NK10@i-mtaout7.012.net.il>; Sat, 07 Feb 2009 12:24:58 +0200 (IST) Date: Sat, 07 Feb 2009 12:24:43 +0200 From: Eli Zaretskii Subject: Re: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org, 2137-done@debbugs.gnu.org Cc: monnier@IRO.UMontreal.CA Reply-to: Eli Zaretskii Message-id: References: > Date: Thu, 05 Feb 2009 11:39:39 -0500 > Cc: 2137@emacsbugs.donarmstrong.com > > > The simplest fix is to simply always output the message rather than only > > for files larger than 50KB. > > That would be easy, but not quite the most convenient behavior. > > What would be the harm? > > Nowadays, I guess it is ok to display the message for all files. That's what I did. ------------=_1234002904-29214-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jan 2009 19:19:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n0VJIv0L029783 for ; Sat, 31 Jan 2009 11:18:58 -0800 Received: from mail.gnu.org ([199.232.76.166]:33797 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTLL7-0007CA-8M for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:17:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTLH4-00089z-E2 for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:13:03 -0500 Received: from mtaout2.012.net.il ([84.95.2.4]:58527) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTLH4-00089r-0e for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 14:13:02 -0500 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEC00000NXL2T00@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 21:13:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEC006A8O28DVN0@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 21:13:21 +0200 (IST) Date: Sat, 31 Jan 2009 21:13:03 +0200 From: Eli Zaretskii Subject: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message To: emacs-pretest-bug@gnu.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org maili= ng list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In an Rmail buffer, type "C-x C-s" to save it: you will almost never see the usual "Saving file FOO..." message, because buffer-soze, called by save-buffer, returns the size of the current message, not o= f the entire message collection. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2009-01-31 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x l o a f d d - f i =20 l i s / f i l e s . e l C-x=20 C-f C-s s a v i n g SPC =20 f i l e SPC C-s=20 C-s C-r C-r C-r M-x e d e b u d e =20 C-u M-x r m a i l ~ / d a I=20 N B O X . n e w n p o d a f o=20 o 1 2 3 4 5 . m b b y e s C-x C-s=20 SPC SPC SPC SPC SPC SPC SPC G M-x r e p o r t =20 Recent messages: Added to d:/usr/eli/data/foo12345.mbb [2 times] Result: t [3 times] Result: 5470 (#o12536, #x155e, ?=E1=95=9E) Result: nil Go-Nonstop... Wrote d:/usr/eli/data/INBOX.new ------------=_1234002904-29214-1--