I'm putting all my backups in a directory:
(defvar saves-dir (expand-file-name "~/.saves/")) (setq backup-directory-alist `((".*" . ,saves-dir)))
This creates annoying filenames with ! in them, such as
!home!bjourne!.fonts.conf.~1~. How do I change that so it instead becomes
Come to think of it, even better would be if emacs created a directory tree and kept each backup file in its own directory. Like this:
~/.saves/home/bjourne/wtf.txt/~1~ ~/.saves/home/bjourne/wtf.txt/~2~ ~/.saves/home/bjourne/wtf.txt/~3~ ~/.saves/home/bjourne/whatever/program.c/~1~ ~/.saves/home/bjourne/whatever/program.c/~2~
So if this naming scheme was possible, I'd prefer that.