🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #156

Re: ~ files from ZMACS

#156
From: N Nagase
Date: Fri, 01 Dec 1989 18:31
20 lines
1162 bytes
   RE:
   Has anyone modified ZMACS to keep "backup" (~) versions of files
   on UNIX systems (like gnuemacs does)?


Believe it or not, code exists to do this in the current Explorer
code, but it is in the Explorer Mail System.  When you have your mail
"BABYL" file on a UNIX type of file system, it will create a backup
file "babyl~" before it saves the current mail buffer.  It's in 
"sys:mail-reader;file.lisp", the function name is "WRITE-MAIL-FILE-
BUFFER".  It deletes the existing backup file an rename the current
file to to the backup filel name.  So, you will not lose the latest
version; you may lose the backup version.

I believe this code can be used in the general save file function
without much modification.

Regards,
Nobi Nagase, Ticare
Technical Details
Message-ID: <2837529070-5583764@Foxtrot>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!dsg.csc.ti.com!nagase

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!dsg.csc.ti.com!nagase
From: nagase@dsg.csc.ti.com (N Nagase)
Newsgroups: comp.sys.ti.explorer
Subject: Re: ~ files from ZMACS
Message-ID: <2837529070-5583764@Foxtrot>
Date: 1 Dec 89 18:31:10 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: The Internet
Lines: 20