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

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

bug#17148: 23.1; Revert Buffer


From: Michael Albinus
Subject: bug#17148: 23.1; Revert Buffer
Date: Tue, 01 Apr 2014 09:06:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Joe Camaioni <jcamaion@tbfmdev1.ctasdev.tc.faa.gov> 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.





reply via email to

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