🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #8839

Re: autosave *VM-Mail*

#8839
From: Steve Baumgarten
Date: Tue, 20 Apr 1993 14:25
33 lines
2230 bytes
In article <9304182009.AA05495@garm.diku.dk> thansen@diku.dk (Thorbjoern Hansen) writes:

   If I invoke vm-mail in a buffer that lies in a directory which I
   cannot write, the autosave routine will try to save *VM-Mail* to that
   directory, and fail, thus beeping every 300 keystrokes.

   What is the right thing to do?  Change vm-mail,
   make-auto-save-file-name or buffer-auto-save-file-name?  Or something
   else?

For this reason, and because I don't like the idea of emacs auto-
saving wherever I happen to be when I start composing mail, I use
Sebastian Kremer's wonderful auto-save.el package.  A side benefit of
this is that since it works with ange-ftp, you also get transparent
auto-saving of files you're editing remotely.

Basically, you give it a directory somewhere (e.g., a subdirectory in
your home directory), and all of your auto-saves will be written to
that directory, rather than to the current directory.

It's in the elisp archives, as follows:

;;;; LISPDIR ENTRY for the Elisp Archive ===============================
;;;;    LCD Archive Entry:
;;;;    auto-save|Sebastian Kremer|sk@thp.uni-koeln.de
;;;;    |safer autosaving with support for ange-ftp and /tmp
;;;;    |$Date: 1992/05/01 14:06:06 $|$Revision: 1.19 $|

--
    Steve Baumgarten       |  "New York... when civilization falls apart,
    PANIX, New York, NY    |   remember, we were way ahead of you."
                           |  
    Email: sbb@panix.com   |                            - David Letterman
Technical Details
Message-ID: <SBB.93Apr20092544@sun.panix.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.ans.net!cmcl2!panix!sun.Panix.Com!sbb
References: <9304182009.AA05495@garm.diku.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,2feeb69306fa0d00
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1993-04-20 08:35:30 PST
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.ans.net!cmcl2!panix!sun.Panix.Com!sbb
From: sbb@panix.com (Steve Baumgarten)
Subject: Re: autosave *VM-Mail*
In-Reply-To: thansen@diku.dk's message of Sun, 18 Apr 1993 22:09:37 +0200
Message-ID: <SBB.93Apr20092544@sun.panix.com>
Sender: sbb@panix.com (Steve Baumgarten)
Organization: PANIX Public Access Unix, NYC
References: <9304182009.AA05495@garm.diku.dk>
Date: Tue, 20 Apr 1993 14:25:44 GMT
Lines: 33