[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs autosave behaviour
From: |
Jannis |
Subject: |
emacs autosave behaviour |
Date: |
Thu, 01 Aug 2013 13:17:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Dear emacs users,
i would like the emacs autosave scheme to behave like the follwoing:
- put all these ~* and #* files into one central directory and not the
directory of the file edited
- save several versions of these backup (in the same directory)
To do so, I have put the following into .emacs:
(custom-set-variables
'(auto-save-file-name-transforms (quote ((".*"
"~/.emacs.d/autosaves/\\1" t))))
'(backup-directory-alist (quote ((".*" . "~/.emacs.d/autosaves/"))))
'(comint-move-point-for-output (quote others))
'(make-directory "~/.emacs.d/autosaves/" t)
'(version-control t)
'(kept-new-versions 5)
'(kept-old-versions 5)
)
This is just copy pasted stuff from the web so I do not understand in
depth what actually happens.
My problem now is that I get a backup version each time I open a file in
a new emacs instance and save some changes. I would, however, like to
have a version each time i hit save even if I open the file just once
and save it several times.
Any suggestion on how to accomplish this?
Cheers
Jannis
- emacs autosave behaviour,
Jannis <=