Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: Duplicate server entries
Date: Mon, 20 Oct 2003 01:43:29 -0500	[thread overview]
Message-ID: <u1xt8o1da.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <vw34r2rkakx.fsf@informatik.uni-tuebingen.de>

Eric Knauel <knauel@informatik.uni-tuebingen.de> writes:

> Nevin Kapur <kapur@mts.jhu.edu> 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





      parent reply	other threads:[~2003-10-20  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-14 14:52 Nevin Kapur
2003-06-15  8:29 ` Eric Knauel
2003-10-17 23:53   ` Lars Magne Ingebrigtsen
2003-10-20  6:43   ` Kevin Greiner [this message]

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=u1xt8o1da.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.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).