🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

error autosaving *VM-mail*

#9552
From: Kyle Jones
Date: Thu, 30 May 1991 00:16
36 lines
1942 bytes
David J. MacKenzie writes:
 > I'm mailing a message using M-x vm-mail for VM 5.31 under Emacs 18.55.
 > The buffer listing starts out like this:
 > 
 >  MR Buffer         Size  Mode           File
 >  -- ------         ----  ----           ----
 > .*  *VM-mail*	   188	 Mail		
 > 
 > But emacs is still trying to autosave the buffer -- every minute or
 > so I get a beep and an error message, "Autosaving... error! for *VM-mail*".
 > 
 > Anyone have a guess as to why this is happening?

My guess is that you're using my modified verison of time.el that
does time-based auto-saving.  There's a function definition at the
end of the file:

(defun auto-save-timer ()
  (setq auto-save-timer (+ auto-save-timer display-time-interval))
  (cond
   ((>= auto-save-timer auto-save-time-interval)
    (do-auto-save)
    (setq auto-save-timer (- auto-save-timer auto-save-time-interval)))))

If an error occurs during the auto-save, the timer value won't be
updated so Emacs will continue to try to auto-save the buffer
until it succeeds.  This is a feature.  Interchange the last two
s-expressions in the function definition if you don't want this
behavior.  I.e.

(defun auto-save-timer ()
  (setq auto-save-timer (+ auto-save-timer display-time-interval))
  (cond
   ((>= auto-save-timer auto-save-time-interval)
    (setq auto-save-timer (- auto-save-timer auto-save-time-interval))
    (do-auto-save))))
Technical Details
Message-ID: <9105300016.AA01134@rodan.UU.NET>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wendy-fate.uu.net!bug-vm
References: <9105300008.AA15128@egypt.eng.umd.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,6e9690682ff88336
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1991-05-29 23:13:59 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wendy-fate.uu.net!bug-vm
From: kyle@uunet.uu.net (Kyle Jones)
Newsgroups: gnu.emacs.vm.bug
Subject: error autosaving *VM-mail*
Message-ID: <9105300016.AA01134@rodan.UU.NET>
Date: 30 May 91 00:16:21 GMT
References: <9105300008.AA15128@egypt.eng.umd.edu>
Sender: bug-vm-request@uunet.uu.net
Lines: 36