Gnus development mailing list
 help / color / mirror / Atom feed
From: Romain Francoise <romain@orebokech.com>
Subject: Re: Gnus slow?
Date: Tue, 23 Nov 2004 21:43:12 +0100	[thread overview]
Message-ID: <87wtwcz47z.fsf@orebokech.com> (raw)
In-Reply-To: <861xeowjm0.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Sat, 20 Nov 2004 17:49:59 +0100")

Kai Grossjohann <kai@emptydomain.de> 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  <romain@orebokech.com>

	* 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 <romain@orebokech.com> | Shine the headlight, straight
it's a miracle -- http://orebokech.com/ | into my eyes.



  parent reply	other threads:[~2004-11-23 20:43 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10 12:47 Katsumi Yamaoka
2004-11-10 13:05 ` Romain Francoise
2004-11-10 14:39   ` Gabor Z.Papp
2004-11-10 18:41     ` Jesper Harder
2004-11-10 23:40       ` Katsumi Yamaoka
2004-11-11 11:47         ` Romain Francoise
2004-11-12  7:27           ` Katsumi Yamaoka
2004-11-12  8:20             ` Romain Francoise
2004-11-12  9:06               ` Katsumi Yamaoka
2004-11-12 13:15                 ` Katsumi Yamaoka
2004-11-12 13:53                   ` Romain Francoise
2004-11-15  5:32                     ` Katsumi Yamaoka
2004-11-15 13:26                       ` Romain Francoise
2004-11-15 16:40                       ` Dan Christensen
2004-11-16 16:17                         ` Reiner Steib
2004-11-16 20:41                           ` Dan Christensen
2004-11-16 21:21                             ` Romain Francoise
2004-11-16 21:51                               ` Simon Josefsson
2004-11-17 15:22                                 ` Frank Schmitt
2004-11-17 19:57                                   ` Romain Francoise
2004-11-18 11:04                                     ` Frank Schmitt
2004-11-19  7:28                                       ` Romain Francoise
2004-11-19 14:17                                       ` Kai Grossjohann
2004-11-19 22:14                                         ` Frank Schmitt
2004-11-20 16:49                                           ` Kai Grossjohann
2004-11-20 20:39                                             ` nnimap syncing (was: Gnus slow?) Steven E. Harris
2004-11-20 22:58                                               ` nnimap syncing Simon Josefsson
2004-11-22  0:59                                             ` Gnus slow? Katsumi Yamaoka
2004-11-22  7:57                                               ` Matt Armstrong
2004-11-22  8:58                                               ` Kai Grossjohann
2004-11-23 20:43                                             ` Romain Francoise [this message]
2004-11-25  0:19                                               ` Katsumi Yamaoka
2004-11-25  7:41                                                 ` Romain Francoise
2004-11-25  7:55                                                   ` Katsumi Yamaoka
2004-11-11  7:16 ` Adam Sjøgren

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=87wtwcz47z.fsf@orebokech.com \
    --to=romain@orebokech.com \
    /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).