From: Lowell Gilbert <lgusenet@be-well.ilk.org>
To: "H S" <haadyai@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: backup with revisions
Date: Mon, 31 Mar 2008 15:16:20 -0400 [thread overview]
Message-ID: <44ej9qogaj.fsf@be-well.ilk.org> (raw)
In-Reply-To: <mailman.9720.1206985548.18990.help-gnu-emacs@gnu.org> (H. S.'s message of "Mon\, 31 Mar 2008 13\:45\:34 -0400")
"H S" <haadyai@gmail.com> writes:
> I hope someone could shed me some light how to get backup with
> revisions to work. What I found out is that the code below seems to
> work in certain directories but not those CVS'd ones. I am not
> sure whether CVS has anything to do with it.
>
> (require 'backup-dir "~/backup-dir.el")
> (setq bkup-backup-directory-info
> '((t "~/.backups" ok-create full-path)))
> (setq backup-by-copying t
> delete-old-versions t
> kept-old-versions 2
> kept-new-versions 6
> version-control t)
Quoting the "Backup Files" node of the emacs manual:
For files managed by a version control system (*note Version
Control::), the variable `vc-make-backup-files' determines whether to
make backup files. By default it is `nil', since backup files are
redundant when you store all the previous versions in a version
control system. *Note General VC Options::.
next parent reply other threads:[~2008-03-31 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.9720.1206985548.18990.help-gnu-emacs@gnu.org>
2008-03-31 19:16 ` Lowell Gilbert [this message]
2008-03-31 17:45 backup with revisions H S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44ej9qogaj.fsf@be-well.ilk.org \
--to=lgusenet@be-well.ilk.org \
--cc=haadyai@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.