From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67914 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus should backup .newsrc.eld Date: Mon, 15 Dec 2008 20:40:10 +0100 Message-ID: <87ljuh8bxh.fsf@marauder.physik.uni-ulm.de> References: <87hc55s6a9.fsf@jidanni.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229370078 13662 80.91.229.12 (15 Dec 2008 19:41:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2008 19:41:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16360@lists.math.uh.edu Mon Dec 15 20:42:25 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 1LCJKY-00067N-SQ for ding-account@gmane.org; Mon, 15 Dec 2008 20:42:15 +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 1LCJIe-0001xO-Ma; Mon, 15 Dec 2008 13:40:16 -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 1LCJId-0001xA-Gx for ding@lists.math.uh.edu; Mon, 15 Dec 2008 13:40:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCJIa-0006EA-Jv for ding@lists.math.uh.edu; Mon, 15 Dec 2008 13:40:15 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCJIn-0002Xi-00 for ; Mon, 15 Dec 2008 20:40:25 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mBFJeAJZ019980 for ; Mon, 15 Dec 2008 20:40:10 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id D7E391351E for ; Mon, 15 Dec 2008 20:40:09 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: ding@gnus.org In-Reply-To: <87hc55s6a9.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 16 Dec 2008 01:21:34 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-dmv.com-Metrics: poseidon 1181; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67914 Archived-At: On Mon, Dec 15 2008, jidanni@jidanni.org wrote: > Oh, every body missed (info "(gnus)Startup Files") "If you want > version control for this file, set `gnus-backup-startup-file'." > Well, maybe it should be t by default. Whether backups of ~/.newsrc.eld are created is controlled by `make-backup-files'. `gnus-backup-startup-file' just controls whether Gnus makes numerical backups, like `version-control' does for other Emacs files. In other words, `gnus-backup-startup-file' overrides `version-control' for .newsrc.eld, nothing more. So with the defaults (make-backup-files =3D=3D t, gnus-backup-startup-file =3D=3D never) you get a single backup file for .newsrc.eld (see the doc string of `version-control'). One could argue that `gnus-backup-startup-file' should default to the value of `version-control', but as .newsrc.eld tends to become large, it might be a good idea to create only a single backup. But defaulting to t (i.e., make numeric backup versions unconditionally) =E2=80=94 independent from the value of `version-control' =E2=80=94 is a bad idea, IMHO. For now, I fixed the doc string of `gnus-backup-startup-file' which was misleading: --8<---------------cut here---------------start------------->8--- --- gnus-start.el 4 Sep 2008 06:04:04 -0000 7.67 +++ gnus-start.el 15 Dec 2008 19:37:27 -0000 @@ -50,7 +50,7 @@ :type 'file) =20 (defcustom gnus-backup-startup-file 'never - "Whether to create backup files. + "Control use of version numbers for backups of `gnus-startup-file'. This variable takes the same values as the `version-control' variable." :version "22.1" --8<---------------cut here---------------end--------------->8--- Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/