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

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

bug#8891: 23.3; save-buffer messages about writing files that may not be


From: Chong Yidong
Subject: bug#8891: 23.3; save-buffer messages about writing files that may not be written
Date: Sun, 03 Jul 2011 22:35:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

>> Yes... until `save-buffer' calls `basic-save-buffer' which invokes
>> `write-file-functions', one of which decides to override the notion of
>> "modified-ness" when it ascertains that the contents have not actually
>> changed.  So modp tells the truth at the time it's checked, but IMO it's
>> checked too early.
>
> Right.  So perhaps `basic-save-buffer-2' is the right place to output
> the message?  I've grepped through the .el files, and there doesn't seem
> to be any other callers other than the straight line down from
> `save-buffer'.
>
> Opinions, anybody?

I don't think it's worth changing.





reply via email to

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