🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99459

editing files with multiple links

#99459
From: Derek Beatty
Date: Thu, 13 Sep 1990 14:06
20 lines
1497 bytes
In GNU Emacs 18.54.57 of Wed Nov 29 1989 on PTERO.SOAR.CS.CMU.EDU
(berkeley-unix), even with backup-by-copying-with-linked, it is
possible to edit a file that has two different names in two different
buffers, edit the buffers independently, and receive no warning of the
danger until attempting to save the buffers.  There should be a
warning given when the file is visited by its second name, there
should be a variable such as find-linked-files-carefully to control
the warning, and the documentation for the new variable, and for
backup-by-copying-when-linked, should refer to each other.

This illustrates a simple occurrence of the problem:

% echo hi >foo
% ln foo bar
% gnu-emacs -q
( s e t q SPC b a c k u p - b y - c o p y i n g - w 
h e n ' DEL - l i n k e d SPC ' t ) LFD C-x C-f f o 
o RET C-x 4 f b a r RET C-e SPC t h e r e C-x o C-e 
SPC h e r e C-x s y y C-g C-h l
Technical Details
Message-ID: <9009131407.AA09103@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!COSMOS.VLSI.CS.CMU.EDU!beatty

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,6785cdd3d1be3c23,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-13 18:59:43 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!COSMOS.VLSI.CS.CMU.EDU!beatty
From: beatty@COSMOS.VLSI.CS.CMU.EDU (Derek Beatty)
Newsgroups: gnu.emacs.bug
Subject: editing files with multiple links
Message-ID: <9009131407.AA09103@life.ai.mit.edu>
Date: 13 Sep 90 14:06:36 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20
Posted: Thu Sep 13 15:06:36 1990