From: Andreas Schwab <schwab@suse.de>
To: ding@gnus.org
Subject: Re: gnus should backup .newsrc.eld
Date: Fri, 12 Dec 2008 19:15:10 +0100 [thread overview]
Message-ID: <m2abb1z2dt.fsf@igel.home> (raw)
In-Reply-To: <uiqpp4nhv.fsf@dod.no>
Steinar Bang <sb@dod.no> writes:
>>>>>> Dave Goldberg <david.goldberg6@verizon.net>:
>
>> Mine does. I always have .newsrc.eld~ with the previous version. I
>> don't see anything in my settings that suggests I've done something
>> special to have it.
>
> Ah... mine don't, because of this setting in .emacs:
> (setq make-backup-files nil)
You can have it anyway.
(defun my-gnus-save-quick-newsrc-hook ()
(set (make-local-variable 'make-backup-files) t)
(set (make-local-variable 'version-control) t)
(set (make-local-variable 'delete-old-versions) t)
(set (make-local-variable 'kept-old-versions) 0)
(set (make-local-variable 'kept-new-versions) 6))
(add-hook 'gnus-save-quick-newsrc-hook 'my-gnus-save-quick-newsrc-hook)
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2008-12-12 18:15 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 [this message]
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
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=m2abb1z2dt.fsf@igel.home \
--to=schwab@suse.de \
--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).