[OS X Emacs] auto-save-list: how to avoid empty directory?

Hofert Jan Marius marius.hofert at math.ethz.ch
Fri Sep 23 08:10:04 EDT 2011

Dear David,

the auto-save-list-file-prefix solved it, thanks.



On 2011-09-23, at 11:56 , David Reitter wrote:

> On Sep 23, 2011, at 5:23 AM, Hofert Jan Marius wrote:
>> I have the following lines in Preferences.el to prevent backup/auto-save files from being written. Still, a (empty) folder named "auto-save-list" is created. How can I avoid that?
> You should never get to see such a folder.
>> (setq auto-save-list-file-name nil); don't want .saves files 
> Look up the documentation of this variable - it is not user-customizable and behavior is not defined when it is set to nil.  I suspect that is why you're getting the `auto-save-list' folder in inconvenient places.
> The Emacs manual says:
>> Emacs records information about interrupted sessions for later recovery in files named ~/.emacs.d/auto-save-list/.saves-pid-hostname. The directory used,~/.emacs.d/auto-save-list/, is determined by the variable auto-save-list-file-prefix. You can record sessions in a different place by customizing that variable. If you set auto-save-list-file-prefix to nil in your .emacs file, sessions are not recorded for recovery.
> So perhaps try setting `auto-save-list-file-prefix' instead, from within a ~/.emacs file.
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!_____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

ETH Zurich
Dr. Marius Hofert
RiskLab, Department of Mathematics
HG E 65.2
Rämistrasse 101
8092 Zurich

Phone +41 44 632 2423
marius.hofert at math.ethz.ch

More information about the MacOSX-Emacs mailing list