🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99427

Revert on write-protected file

#99427
From: macrakis
Date: Thu, 06 Sep 1990 15:32
21 lines
1378 bytes
GNU Emacs 18.53.11 on NeXT 1.0.1

I would find it useful for Revert to tell you whether the version it
reverted to is in fact different or the same (at least as far as dates
go) as the in-buffer version.  This also provides a positive
confirmation that the revert happened.

The case which is currently most confusing is where 1) the file has
NOT changed and 2) it is write-protected.  It is confusing because 1)
the buffer doesn't change and 2) you get a message at the bottom of
the screen saying "File is write protected", which could be
interpreted as an error message.

I would prefer Revert to say

	Disk file unchanged.
or
	Buffer updated from disk.

as the case may be.  I find this information more useful than "File is
write protected."
Technical Details
Message-ID: <9009061629.AA10804@.dupuis.gr.osf.org.>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,fedb7d780b1f5c3d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-06 14:41:36 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakis
From: macrakis@ri.osf.fr
Newsgroups: gnu.emacs.bug
Subject: Revert on write-protected file
Message-ID: <9009061629.AA10804@.dupuis.gr.osf.org.>
Date: 6 Sep 90 15:32:36 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21
Posted: Thu Sep  6 16:32:36 1990
X-Unparsable-Date: Thu, 6 Sep 90 17:35:51 GMT+0100