From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message Date: Tue, 03 Feb 2009 16:29:08 -0500 Message-ID: References: Reply-To: Stefan Monnier , 2137@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 1233697783 22435 80.91.229.12 (3 Feb 2009 21:49:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 21:49:43 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, 2137@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 22:50:56 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 1LUTAP-0007xD-9b for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 22:50:50 +0100 Original-Received: from localhost ([127.0.0.1]:48804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUT96-0002j8-LN for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 16:49:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUT3S-0005mf-81 for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUT3Q-0005kx-CD for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:37 -0500 Original-Received: from [199.232.76.173] (port=57086 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUT3O-0005kB-T4 for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53840) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUT3O-00025t-EB for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:34 -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 n13LhVTK012515; Tue, 3 Feb 2009 13:43:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n13LZ5pM010283; Tue, 3 Feb 2009 13:35:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 03 Feb 2009 21:35:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2137 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Original-Received: via spool by 2137-submit@emacsbugs.donarmstrong.com id=B2137.12336965538870 (code B ref 2137); Tue, 03 Feb 2009 21:35:05 +0000 Original-Received: (at 2137) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:29:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-Received: by alfajor.home (Postfix, from userid 20848) id 25DB0A22D1; Tue, 3 Feb 2009 16:29:09 -0500 (EST) 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) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 03 Feb 2009 16:43:37 -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:24910 Archived-At: >> 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