I just installed the mkback emacs lisp package and wanted to recommend
it to those of you who probably don't scour gnu.emacs.sources on a
daily basis, as I do.  It's a nice, lightweight backup system.  With a
keystroke, say C-c~, it creates a backup of the file you are working
on.  Say you are editing

   ~/python/bin/somefile.py

When you execute the backup command, it will create

  ~/backup/python/bin/somefile-2002-05-04.py

With multiple backups per day using automatic suffixes like

  ~/backup/python/bin/somefile-2002-05-04a.py 

There is flexibility in which backup dir is used.  For example, if
the dir ~/python/backup exists, the backup file will be

  ~/python/backup/bin/somefile-2002-05-04.py

(require 'mkback)
(mkback-install-for-eshell)
(define-key global-map "\C-c~" 'mkback-this-buffer-doit)

Attachment: mkback.el
Description: application/emacs-lisp


JDH

Reply via email to