bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..


From: Stefan Monnier
Subject: bug#2137: 23.0.60; Saving Rmail buffer does not show the "Saving file ..." message
Date: Sun, 01 Feb 2009 20:35:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>     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






reply via email to

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