Jay Belanger writes: > David Kastrup writes: > ... >> This would probably also apply for an existing file that has been >> changed on disk, but not in the Emacs buffer. In this case it might >> possibly make sense to ask the "revert buffer" question before saving. >> In the case of a non-existing file, there is nothing to revert to, >> however. > > So are you suggesting that when saving a file whose buffer has not > been changed, that Emacs should compare it to the disk file anyhow? > I had always (always=for the last 10 seconds) thought that it didn't > for efficiency reasons. Well, the modification flag has a certain use that should be preserved. What may be done is to add a var `new-files-are-already-modified'. Maybe the (untested) following could help?