From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79357 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: [patch] 1 of 1 clarify role of .newsrc Date: Sun, 03 Jul 2011 22:08:51 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1309745385 8357 80.91.229.12 (4 Jul 2011 02:09:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 02:09:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27653@lists.math.uh.edu Mon Jul 04 04:09:41 2011 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.69) (envelope-from ) id 1QdYbU-00067m-Kg for ding-account@gmane.org; Mon, 04 Jul 2011 04:09:40 +0200 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 1QdYbE-0003Z9-MP; Sun, 03 Jul 2011 21:09:24 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QdYbC-0003Yx-RW for ding@lists.math.uh.edu; Sun, 03 Jul 2011 21:09:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QdYaz-0006JQ-DP for ding@lists.math.uh.edu; Sun, 03 Jul 2011 21:09:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QdYaw-0007BU-Ha for ding@gnus.org; Mon, 04 Jul 2011 04:09:06 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QdYau-00060m-VP for ding@gnus.org; Mon, 04 Jul 2011 04:09:04 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2011 04:09:04 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2011 04:09:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 112 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:PtB+K4qkZOh6m3k3fzn7p91Nh6k= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79357 Archived-At: --=-=-= Content-Type: text/plain Tried to send this with git-format-patch, but couldn't tell if it worked; sorry if it shows up as a duplicate. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Clarify-the-role-of-the-.newsrc-file.patch >From cc3fe82ccf83fe0bd65f1cd23076073769e9d442 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 3 Jul 2011 21:55:18 -0400 Subject: [PATCH] Clarify the role of the .newsrc file To: ding@gnus.org Not saving/loading it doesn't make it impossible to use other newsreaders, it merely means they will not be synchronized with Gnus. --- lisp/gnus-start.el | 14 ++++++++------ texi/gnus.texi | 18 ++++++++++-------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el index aa9af01..91ca54f 100644 --- a/lisp/gnus-start.el +++ b/lisp/gnus-start.el @@ -218,9 +218,10 @@ groups." "*Non-nil means that Gnus will read the `.newsrc' file. Gnus always reads its own startup file, which is called \".newsrc.eld\". The file called \".newsrc\" is in a format that can -be readily understood by other newsreaders. If you don't plan on -using other newsreaders, set this variable to nil to save some time on -entry." +be readily understood by other newsreaders. If you don't +care whether Gnus can stay in synch with changes made in other +newsreaders (e.g. to group subscriptions and article marks), set +this variable to nil to save some time on entry." :version "21.1" :group 'gnus-newsrc :type 'boolean) @@ -229,9 +230,10 @@ entry." "*Non-nil means that Gnus will save the `.newsrc' file. Gnus always saves its own startup file, which is called \".newsrc.eld\". The file called \".newsrc\" is in a format that can -be readily understood by other newsreaders. If you don't plan on -using other newsreaders, set this variable to nil to save some time on -exit." +be readily understood by other newsreaders. If you don't +care whether other newsreaders can stay in synch with changes +made in Gnus (e.g. to group subscriptions and article marks), set +this variable to nil to save some time on exit." :group 'gnus-newsrc :type 'boolean) diff --git a/texi/gnus.texi b/texi/gnus.texi index f500a2e..7c1feca 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -1405,8 +1405,10 @@ not stored in the @file{.newsrc} file. You can turn off writing the @file{.newsrc} file by setting @code{gnus-save-newsrc-file} to @code{nil}, which means you can delete the file and save some space, as well as exiting from Gnus faster. -However, this will make it impossible to use other newsreaders than -Gnus. But hey, who would want to, right? Similarly, setting +However, Gnus and other newsreaders will not maintain a synchronized +idea of which groups you're subscribed to or articles you've read. +But hey, who would want to use another newsreader, right? +Similarly, setting @code{gnus-read-newsrc-file} to @code{nil} makes Gnus ignore the @file{.newsrc} file and any @file{.newsrc-SERVER} files, which can be convenient if you use a different news reader occasionally, and you @@ -28875,15 +28877,15 @@ sizes a bit if you are running out of space. @item gnus-save-newsrc-file If this is @code{nil}, Gnus will never save @file{.newsrc}---it will -only save @file{.newsrc.eld}. This means that you will not be able to -use any other newsreaders than Gnus. This variable is @code{t} by -default. +only save @file{.newsrc.eld}. Other newsreaders will have no way to +stay in synch with changes made in Gnus (e.g. to group subscriptions and +article marks). This variable is @code{t} by default. @item gnus-read-newsrc-file If this is @code{nil}, Gnus will never read @file{.newsrc}---it will -only read @file{.newsrc.eld}. This means that you will not be able to -use any other newsreaders than Gnus. This variable is @code{t} by -default. +only read @file{.newsrc.eld}. Gnus will have no way to stay in synch +with changes made in other newsreaders (e.g. to group subscriptions and +article marks). This variable is @code{t} by default. @item gnus-save-killed-list If this is @code{nil}, Gnus will not save the list of dead groups. You -- 1.7.3.4 --=-=-= Content-Type: text/plain -- Dave Abrahams BoostPro Computing http://www.boostpro.com --=-=-=--