From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lowell Gilbert Newsgroups: gmane.emacs.help Subject: Re: backup with revisions Date: Mon, 31 Mar 2008 15:16:20 -0400 Message-ID: <44ej9qogaj.fsf@be-well.ilk.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206991022 15626 80.91.229.12 (31 Mar 2008 19:17:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 19:17:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "H S" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 31 21:17:33 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgPVd-0001KC-AP for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 21:17:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgPV1-0005v2-9g for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 15:16:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgPUl-0005uj-L2 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 15:16:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgPUh-0005u6-5B for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 15:16:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgPUh-0005u3-3T for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 15:16:35 -0400 Original-Received: from mail3.sea5.speakeasy.net ([69.17.117.5]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JgPUg-0003L9-Rt for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 15:16:35 -0400 Original-Received: (qmail 17225 invoked from network); 31 Mar 2008 19:16:21 -0000 Original-Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Mar 2008 19:16:21 -0000 Original-Received: by be-well.ilk.org (Postfix, from userid 1147) id BD14E28486; Mon, 31 Mar 2008 15:16:20 -0400 (EDT) In-Reply-To: (H. S.'s message of "Mon\, 31 Mar 2008 13\:45\:34 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52919 Archived-At: "H S" 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::.