Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Knauel <knauel@informatik.uni-tuebingen.de>
Subject: Re: Duplicate server entries
Date: Sun, 15 Jun 2003 10:29:34 +0200	[thread overview]
Message-ID: <vw34r2rkakx.fsf@informatik.uni-tuebingen.de> (raw)
In-Reply-To: <m2k7bog189.fsf@nkpbook.mts.jhu.edu>


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
`----

-Eric
-- 
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)




  reply	other threads:[~2003-06-15  8:29 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 [this message]
2003-10-17 23:53   ` Lars Magne Ingebrigtsen
2003-10-20  6:43   ` Kevin Greiner

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=vw34r2rkakx.fsf@informatik.uni-tuebingen.de \
    --to=knauel@informatik.uni-tuebingen.de \
    /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).