🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: autosave replies will not die

#9362
From: kpc
Date: Mon, 28 Oct 1991 06:39
32 lines
1766 bytes
here's what i do to fix this problem.

season to taste.

(defun make-auto-save-file-name ()
  
  "Redefinition of files.el function.
This version puts the autosave file in my-autosave-directory.  If the
filename or file is bad, you'll see a cryptic error message.

Return file name to use for auto-saves of current buffer.
Does not consider auto-save-visited-file-name; that is checked
before calling this function.  You can redefine this for customization.
See also auto-save-file-name-p."
  
  ;;from functions.el
  (string-subst-char ?- ?\  		;dash for space
		     (if buffer-file-name 
			 (concat my-auto-save-directory
				 "#"
				 (file-name-nondirectory buffer-file-name)
				 "#")
		       (expand-file-name
			(concat my-auto-save-directory
				"#%"
				(buffer-name)
				"#")))))
--
o Seek cottage, or shared housing with ethical nonsmokers, in WS/PA/PV/LAH/PAH.
o Guitarist seeks bassist or other instrumentalist for practice, in above area.
o Research: optimization, NP-complete search, scheduling, planning, learning.
Technical Details
Message-ID: <KPC.91Oct27223951@zog.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!uakari.primate.wisc.edu!ames!ptolemy-ri!pluto.arc.nasa.gov!kpc
References: <9110250252.AA28919@banach.math.ep.utexas.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,ac502c4260c3b281
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1991-10-28 07:39:37 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!uakari.primate.wisc.edu!ames!ptolemy-ri!pluto.arc.nasa.gov!kpc
From: kpc@pluto.arc.nasa.gov (kpc)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: autosave replies will not die
Message-ID: <KPC.91Oct27223951@zog.arc.nasa.gov>
Date: 28 Oct 91 06:39:51 GMT
References: <9110250252.AA28919@banach.math.ep.utexas.edu>
Sender: usenet@ptolemy-ri.arc.nasa.gov
Organization: Sterling at NASA Ames Research Center
Lines: 32
In-reply-to: jerry@math.ep.utexas.edu's message of 25 Oct 91 02:52:28 GMT