From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54369 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: Duplicate server entries Date: Mon, 20 Oct 2003 01:43:29 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066632260 27174 80.91.224.253 (20 Oct 2003 06:44:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 06:44:20 +0000 (UTC) Original-X-From: ding-owner+M2910@lists.math.uh.edu Mon Oct 20 08:44:18 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABTm6-0004cf-00 for ; Mon, 20 Oct 2003 08:44:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ABTld-0002YM-00; Mon, 20 Oct 2003 01:43:49 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ABTlZ-0002YH-00 for ding@lists.math.uh.edu; Mon, 20 Oct 2003 01:43:45 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 7AC7B3A005B for ; Mon, 20 Oct 2003 01:43:44 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1ABTlX-0006cP-00 for ; Mon, 20 Oct 2003 08:43:43 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 141 Original-NNTP-Posting-Host: dialup-216-12-206-43.ev1.net Original-X-Trace: quimby.gnus.org 1066632223 23412 216.12.206.43 (20 Oct 2003 06:43:43 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 20 Oct 2003 06:43:43 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:MjRM4H5AkNObSyDR5XNR1N/6DLY= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54369 Eric Knauel writes: > Nevin Kapur writes: > >> I've seen this a few times now. My *Server* buffer looks like this >> currently: >> >> {nnfolder:archive} (opened) >> {nnimap:jesse} (opened) (agent) >> >> [...] >> >> {nnimap:jesse} (opened) (agent) >> >> Why are there two entries for the nnimap server? I can almost act >> independently on these two. It seems like one can offline while the >> other online, which seems to confuse Gnus. > > I see the same problem. Only agentized servers seem to get > duplicated. Here's how I can reproduce this: start gnus-unplugged, `J > j' and `J s' and then open the server buffer. My guess is, that > somehow Gnus-agent gets confused while opening servers: > > Right after start in unplugged mode: > > ,---- > | (cl-prettyprint gnus-opened-servers) > | > | (((nnfolder "fp03" > | (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben") > | (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active") > | (nnfolder-get-new-mail nil)) > | ok) > | ((nnfolder "spam" > | (nnfolder-directory "~/more-mail/spam") > | (nnfolder-active-file "~/more-mail/spam/active") > | (nnfolder-get-new-mail nil)) > | ok) > | ((nnfolder "archive" > | (nnfolder-directory "~/Mail/archive") > | (nnfolder-active-file "~/Mail/archive/active") > | (nnfolder-get-new-mail nil) > | (nnfolder-inhibit-expiry t)) > | ok) > | ((nnimap "webmail.macnews.de" > | (nnimap-address "localhost") > | (nnimap-server-port 5002) > | (nnimap-list-pattern ("INBOX" "Junk" > | "misc*" > | "macnews/*" > | "archive/*")) > | (nnimap-stream ssl)) > | ok) > | ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001)) > | ok) > | ((nnfolder "") > | ok) > | ((nnml "") > | ok) > | ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000)) > | ok))nil > `---- > > The servers nntp:news.gmane.org, nntp:news.cis.dfn.de and > nnimap:webmail.macnews.de are covered by Gnus-Agent. > > Now, `J j' and `J s' to fetch mail and news, and after that: > > ,---- > | (cl-prettyprint gnus-opened-servers) > | > | (((nntp "news.gmane.org") > | ok) > | ((nntp "news.cis.dfn.de") > | ok) > | ((nnfolder "fp03" > | (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben") > | (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active") > | (nnfolder-get-new-mail nil)) > | ok) > | ((nnfolder "spam" > | (nnfolder-directory "~/more-mail/spam") > | (nnfolder-active-file "~/more-mail/spam/active") > | (nnfolder-get-new-mail nil)) > | ok) > | ((nnfolder "archive" > | (nnfolder-directory "~/Mail/archive") > | (nnfolder-active-file "~/Mail/archive/active") > | (nnfolder-get-new-mail nil) > | (nnfolder-inhibit-expiry t)) > | ok) > | ((nnimap "webmail.macnews.de" > | (nnimap-address "localhost") > | (nnimap-server-port 5002) > | (nnimap-list-pattern ("INBOX" "Junk" > | "misc*" > | "macnews/*" > | "archive/*")) > | (nnimap-stream ssl)) > | ok) > | ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001)) > | ok) > | ((nnfolder "") > | ok) > | ((nnml "") > | ok) > | ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000)) > | ok))nil > `---- > > This is my server setup: > > ,---- > | gnus-select-method > | (nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000)) > | > | (cl-prettyprint gnus-secondary-select-methods) > | > | ((nnml "") > | (nnfolder "") > | (nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001)) > | (nnimap "webmail.macnews.de" > | (nnimap-address "localhost") > | (nnimap-server-port 5002) > | (nnimap-list-pattern ("INBOX" "Junk" > | "misc*" > | "macnews/*" > | "archive/*")) > | (nnimap-stream ssl)))nil > `---- Could you print the value of gnus-agent-covered-methods? The methods in gnus-agent-covered-methods must be equal to the methods in gnus-opened-servers. If they aren't, please edit agent/lib/servers to match your current methods then start gnus. BTW, if this is the problem, I have a fix ready to post. Kevin