emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving fil


From: Stefan Monnier
Subject: Re: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message
Date: Tue, 03 Feb 2009 16:29:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]