I would like to put all of my auto-save files into a directory, say something like
~/.emacs-saves
Based on what's written in the wiki, I came up with this:
(setq backup-by-copying t ; don't clobber symlinks
backup-directory-alist '(("." . "~/.emacs-saves")) ; don't litter my fs tree
delete-old-versions t
kept-new-versions 6
kept-old-versions 2
version-control t) ; use versioned backups
(setq auto-save-file-name-transforms
`((".*" "~/.emacs-saves" t)))
Now my autosaves are going in my home directory, which is actually kind of an improvement, but not what I want.
Can someone explain to me what I'm doing wrong, and how to correct it? I'm also very interested in what this syntax means (It's an example from the wiki entry):
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
What's with the comma in ,temporary-file-directory
?