From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68615 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.discuss,gmane.emacs.gnus.general Subject: Re: Syncing gmane group read state across multiple gnusen Date: Thu, 18 Jun 2009 13:02:35 +0200 Organization: Probably a good idea Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1245322973 16741 80.91.229.12 (18 Jun 2009 11:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2009 11:02:53 +0000 (UTC) Cc: ding@gnus.org To: gmane-discuss@hawk.netfonds.no Original-X-From: gmane-discuss-bounces@hawk.netfonds.no Thu Jun 18 13:02:49 2009 Return-path: Envelope-to: gd-gmane-discuss@m.gmane.org Original-Received: from hawk.netfonds.no ([80.91.224.246]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHFOK-0000Dy-4Z for gd-gmane-discuss@m.gmane.org; Thu, 18 Jun 2009 13:02:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=hawk.netfonds.no) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1MHFOK-0003fo-00; Thu, 18 Jun 2009 13:02:48 +0200 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1MHFOI-0003fj-00 for ; Thu, 18 Jun 2009 13:02:46 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MHFOI-0007TA-Qb for gmane-discuss@hawk.netfonds.no; Thu, 18 Jun 2009 11:02:46 +0000 Original-Received: from tide131.microsoft.com ([213.199.128.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2009 11:02:46 +0000 Original-Received: from sb by tide131.microsoft.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2009 11:02:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: gmane-discuss@hawk.netfonds.no Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tide131.microsoft.com Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:AhpXFz7HkDtD752kIeYc/4Z4d3E= X-BeenThere: gmane-discuss@hawk.netfonds.no X-Mailman-Version: 2.1.5 Precedence: list List-Id: gmane-discuss.hawk.netfonds.no List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: gmane-discuss-bounces@hawk.netfonds.no Errors-To: gmane-discuss-bounces@hawk.netfonds.no Xref: news.gmane.org gmane.discuss:12281 gmane.emacs.gnus.general:68615 Archived-At: >>>>> Duncan <1i5t5.duncan@cox.net>: > Does Gnus use the standard newsrc format? Yes and no. It writes a .newsrc file for its primary NNTP server, but I don't know if, and if so: when, it reads it. It persists all of its other state in a monster lisp file called .newsrc.eld. > If it does, then what you're asking should be a breeze, because the > newsrc files are by definition single-server only already. Thus, it > would seem a natural fit for tracking status on a single shared server > when others aren't shared, just find the appropriate newsrc file for > each one and share it, leaving the others alone. Right. If I switch primary NNTP server, that isn't gmane today, _and_ if Gnus can be persuaded to actually read the .newsrc file, then this should be possible. One possible downside of this, is that I don't think I can switch the primary NNTP server, without losing the current read state on both gmane, and the server that is currently the primary NNTP server. > I don't use gnus so can't say, but know that pan works this way, using a > single newsrc file for each server it tracks. It's thus quite easy to > share the same single-server tracking among different machines and > clients, just share the same newsrc but leave others alone. That can be > accomplished using symlinks or editing the servers.xml file for each so > it points to a singe common newsrc file. > If gnus doesn't use newsrc files, then... Well, thanx for the idea. It seems simpler than my vague thoughts about server read state exports and imports.