From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59267 Path: main.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus slow? Date: Tue, 23 Nov 2004 21:43:12 +0100 Organization: orebokech dot com Message-ID: <87wtwcz47z.fsf@orebokech.com> References: <87r7n0zjx9.fsf@orebokech.com> <87u0rv8on2.fsf@orebokech.com> <873bzf6umt.fsf@orebokech.com> <87lld3gj5u.fsf@uwo.ca> <87hdnpil1c.fsf@uwo.ca> <877jolqyl7.fsf@orebokech.com> <87d5ycmeog.fsf@orebokech.com> <863bz52a9r.fsf@ketchup.de.uu.net> <861xeowjm0.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101242652 18602 80.91.229.6 (23 Nov 2004 20:44:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 20:44:12 +0000 (UTC) Original-X-From: ding-owner+M7807@lists.math.uh.edu Tue Nov 23 21:43:55 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWhVz-0002TT-00 for ; Tue, 23 Nov 2004 21:43:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CWhVV-0003h9-00; Tue, 23 Nov 2004 14:43:25 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CWhVN-0003h3-00 for ding@lists.math.uh.edu; Tue, 23 Nov 2004 14:43:17 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CWhVI-0008EA-9m for ding@lists.math.uh.edu; Tue, 23 Nov 2004 14:43:12 -0600 Original-Received: from yeast.orebokech.com (yeast.orebokech.com [82.67.41.165]) by justine.libertine.org (Postfix) with ESMTP id B39D43A028E for ; Tue, 23 Nov 2004 14:43:11 -0600 (CST) Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 7A61C12D04 for ; Tue, 23 Nov 2004 21:43:09 +0100 (CET) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 17F10B2F9D; Tue, 23 Nov 2004 21:43:12 +0100 (CET) Original-To: ding@gnus.org Mail-Copies-To: nobody X-Face: "1+OIb}NK>vxR1ZMk[Jx!/]O|A-v/P&|%hFquLxp20W.'g4KNUD/IdAUSmd'5`f)Q9%"4]%{P`TF2dC4v1~G5D}S( In-Reply-To: <861xeowjm0.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Sat, 20 Nov 2004 17:49:59 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59267 Kai Grossjohann writes: > The difference is that .newsrc* contain all servers in one file, but > the .marks files are specific to each server (to each group, even). > This means, you can read servers A, B, C at work and servers A, D, E > at home and sync the marks files for A and then you'll get > synchronization for that server between home and work. Thanks for the insight, Kai! I summarized this useful information in a node in the manual, I'd be grateful to anyone with commit access to proofread and install it: (I got rid of @sc{} for "marks", it made the text look goofy.) 2004-11-23 Romain Francoise * gnus.texi (NNTP marks): New node. (NNTP): Move NNTP marks variables to the new node. --- gnus.texi 22 Nov 2004 22:58:24 +0100 7.73 +++ gnus.texi 23 Nov 2004 21:41:30 +0100 @@ -646,6 +646,7 @@ * Direct Functions:: Connecting directly to the server. * Indirect Functions:: Connecting indirectly to the server. * Common Variables:: Understood by several connection functions. +* NNTP marks:: Storing marks for @acronym{NNTP} servers. Getting Mail @@ -12804,21 +12805,13 @@ don't like to see Emacs eat your available CPU power), you might set this to, say, 1. -@item nntp-marks-is-evil -@vindex nntp-marks-is-evil -If non-@code{nil}, this back end will ignore any @sc{marks} files. The -default is @code{nil}. - -@item nntp-marks-directory -@vindex nntp-marks-directory -The directory where @sc{marks} for nntp groups will be stored. - @end table @menu * Direct Functions:: Connecting directly to the server. * Indirect Functions:: Connecting indirectly to the server. * Common Variables:: Understood by several connection functions. +* NNTP marks:: Storing marks for @acronym{NNTP} servers. @end menu @@ -13068,6 +13061,52 @@ @end table +@node NNTP marks +@subsubsection NNTP marks +@cindex storing NNTP marks + +Gnus stores marks (@pxref{Marking Articles}) for @acronym{NNTP} +servers in marks files. A marks file records what marks you have set +in a group and each file is specific to the corresponding server. +Marks files are stored in @file{~/News/marks} +(@code{nntp-marks-directory}) under a classic hierarchy resembling +that of a news server, for example marks for the group +@samp{gmane.discuss} on the news.gmane.org server will be stored in +the file @file{~/News/marks/news.gmane.org/gmane/discuss/.marks}. + +Marks files are useful because you can copy the @file{~/News/marks} +directory (using rsync, scp or whatever) to another Gnus installation, +and it will realize what articles you have read and marked. The data +in @file{~/News/marks} has priority over the same data in +@file{~/.newsrc.eld}. + +Note that marks files are very much server-specific: Gnus remembers +the article numbers so if you don't use the same servers on both +installations things are most likely to break (most @acronym{NNTP} +servers do not use the same article numbers as any other server). +However, if you use servers A, B, C on one installation and servers A, +D, E on the other, you can sync the marks files for A and then you'll +get synchronization for that server between the two installations. + +Using @acronym{NNTP} marks can possibly incur a performance penalty so +if Gnus feels sluggish, try setting the @code{nntp-marks-is-evil} +variable to @code{t}. Marks will then be stored in @file{~/.newsrc.eld}. + +Related variables: + +@table @code + +@item nntp-marks-is-evil +@vindex nntp-marks-is-evil +If non-@code{nil}, this back end will ignore any marks files. The +default is @code{nil}. + +@item nntp-marks-directory +@vindex nntp-marks-directory +The directory where marks for nntp groups will be stored. + +@end table + @node News Spool @subsection News Spool -- Romain Francoise | Shine the headlight, straight it's a miracle -- http://orebokech.com/ | into my eyes.