Path: 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 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