From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Re: gnus should backup .newsrc.eld
Date: Fri, 12 Dec 2008 07:46:43 +0100 [thread overview]
Message-ID: <87bpvh51rg.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <878wqmht0f.fsf@jidanni.org> (jidanni@jidanni.org's message of "Fri, 12 Dec 2008 13:17:20 +0800")
jidanni@jidanni.org writes:
> Oh, there it is
> -rw-r--r-- 1 95765 2008-12-12 13:12 .newsrc.eld
> -rw-r--r-- 1 95751 2008-12-12 12:06 .backups/.newsrc.eld!!!home!jidanni!~
> I see, I am using
> ;;; backup-dir.el --- allow backup files to live in some other directory(s).
> I found somewhere. Well, that's only one measly backup...
You don't need an external lib to do that. That's what I use:
--8<---------------cut here---------------start------------->8---
(setq version-control t)
;; Save the 20 last versions!
(setq kept-old-versions 0)
(setq kept-new-versions 20)
(setq delete-old-versions t)
(setq backup-directory-alist
'((".*" . "~/.backupFiles/")))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
next prev parent reply other threads:[~2008-12-12 6:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-12 1:15 jidanni
2008-12-12 3:04 ` Dave Goldberg
2008-12-12 11:54 ` Steinar Bang
2008-12-12 18:15 ` Andreas Schwab
2008-12-15 17:21 ` jidanni
2008-12-15 19:40 ` Reiner Steib
2008-12-15 23:34 ` Steinar Bang
2008-12-16 17:58 ` jidanni
2008-12-12 3:17 ` Katsumi Yamaoka
2008-12-12 5:17 ` jidanni
2008-12-12 6:46 ` Tassilo Horn [this message]
2008-12-12 11:57 ` Steinar Bang
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=87bpvh51rg.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).