How to have Emacs create backup files with OpenVMS Files-11 style file names with version numbers?
-
16-06-2021 - |
문제
This SO answer about .emacs file contains:
;; keep backup files neatly out of the way in .~/
(setq backup-directory-alist '(("." . ".~")))
which triggered an idea that it would be handy if Emacs would create backup files using the OpenVMS Files-11 version naming. For example, x.txt;3
or x.txt.3
for the third version of x.txt
해결책
Check out this article: http://www.glindra.org/doc/version_number.html. The short story is to add:
(setq version-control t)
in your .emacs file.
제휴하지 않습니다 StackOverflow