all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* backup with revisions
@ 2008-03-31 17:45 H S
  0 siblings, 0 replies; 2+ messages in thread
From: H S @ 2008-03-31 17:45 UTC (permalink / raw)
  To: help-gnu-emacs

Hello all,

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)

Thank you.
IS




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: backup with revisions
       [not found] <mailman.9720.1206985548.18990.help-gnu-emacs@gnu.org>
@ 2008-03-31 19:16 ` Lowell Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Lowell Gilbert @ 2008-03-31 19:16 UTC (permalink / raw)
  To: H S; +Cc: help-gnu-emacs

"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::.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-31 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9720.1206985548.18990.help-gnu-emacs@gnu.org>
2008-03-31 19:16 ` backup with revisions Lowell Gilbert
2008-03-31 17:45 H S

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.