GNU bug report logs - #17148
Revert buffer menu-item and file permission changes

Previous Next

Package: emacs;

Reported by: Joe Camaioni <jcamaion <at> tbfmdev1.ctasdev.tc.faa.gov>

Date: Mon, 31 Mar 2014 15:45:02 UTC

Severity: minor

Found in version 23.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Michael Albinus <michael.albinus <at> gmx.de>, 17148 <at> debbugs.gnu.org
Subject: bug#17148: 23.1; Revert Buffer
Date: Wed, 02 Apr 2014 02:45:38 -0400
Stefan Monnier wrote:

> Because revert-buffer is meant to handle the file's content, not its
> read-only setting.

File permission bits can be viewed as just another form of content.

> E.g. maybe the buffer is read-only because the user hit C-x C-q.

Personally I would not mind seeing a non-greyed-out menu-item for Revert
Buffer in such a case. I have modified the buffer ('s meta-data)
compared to how it is on disk, so I might want to revert it.




This bug report was last modified 3 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.