Subject: Re: bug#17148: 23.1; Revert Buffer

From: Michael Albinus <[email-masked]>
Date: Tue, 01 Apr 2014 09:06:32 +0200

Joe Camaioni <[email-masked]> writes:

> A buffer has been loaded with a file.  It is initially unwritable.  A chmod is performed in a shell window to make it writable.  Going into the File menu pulldown, the Revert Buffer stays gray-ed out, and the file is still listed as unwritable.

Emacs is not notified, when a file changes its state outside Emacs. Only
prior to writing to a file Emacs checks, whether a file has changed on disk.

The upcoming Emacs 24.4 has implemented file notifications on systems
which support it (mainly GNU/Linux and MS Windows). This could be used
for this kind of checks.

For Emacs 23, I don't regard this as a bug.

Best regards, Michael.