From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67892 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus should backup .newsrc.eld Date: Fri, 12 Dec 2008 19:15:10 +0100 Organization: Linux Private Site Message-ID: References: <87vdtqb3dr.fsf@jidanni.org> <84r64e9jry.fsf@incoming.verizon.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1229105798 16530 80.91.229.12 (12 Dec 2008 18:16:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 18:16:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16338@lists.math.uh.edu Fri Dec 12 19:17:42 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LBCZw-0007Pr-SD for ding-account@gmane.org; Fri, 12 Dec 2008 19:17:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LBCXx-0001E0-VH; Fri, 12 Dec 2008 12:15:30 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LBCXw-0001Do-DR for ding@lists.math.uh.edu; Fri, 12 Dec 2008 12:15:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LBCXt-00018k-FX for ding@lists.math.uh.edu; Fri, 12 Dec 2008 12:15:28 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LBCY2-0005Wi-00 for ; Fri, 12 Dec 2008 19:15:34 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LBCXp-0007vH-4S for ding@gnus.org; Fri, 12 Dec 2008 18:15:21 +0000 Original-Received: from dsl01.83.171.181.198.ip-pool.nefkom.net ([83.171.181.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 18:15:21 +0000 Original-Received: from schwab by dsl01.83.171.181.198.ip-pool.nefkom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 18:15:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dsl01.83.171.181.198.ip-pool.nefkom.net X-Yow: Was my SOY LOAF left out in th'RAIN? It tastes REAL GOOD!! User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:FDdrogyQnTv71a8XTvmjBjkaTwU= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67892 Archived-At: Steinar Bang writes: >>>>>> Dave Goldberg : > >> 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."