Gnus development mailing list
 help / color / mirror / Atom feed
* Setting gnus-check-new-newsgroups to nil --> gnus-secondary-select-methods ignored
@ 2010-07-06 20:51 Adam Sjøgren
  2010-07-06 20:58 ` Adam Sjøgren
  0 siblings, 1 reply; 8+ messages in thread
From: Adam Sjøgren @ 2010-07-06 20:51 UTC (permalink / raw)
  To: ding

If you, as I do, set gnus-check-new-newsgroups to nil, then Gnus will
happily ignore any configuration you have added to servers in
gnus-secondary-select-methods.

So putting this in your Gnus:

  (setq gnus-check-new-newsgroups nil)
  (setq gnus-secondary-select-methods
        '(
          (nntp "news.gmane.org"
                (nntp-open-connection-function nntp-open-tls-stream)
                (nntp-port-number 563)
                (nntp-address "snews.gmane.org"))
          ))

will make Gnus connect to news.gmane.org on port 119(!)

If you let gnus-check-new-newsgroups have its default value, then the
configuration in gnus-secondary-select-methods is used, and in the above
case the connection will be encrypted on port 563 to snews.gmane.org.

I am guessing that what happens when gnus-check-new-newsgroups isn't
nil, is that somehow the gnus-server-method-cache is initialized
"correctly", while it otherwise gets initialized "wrong", mistaking
secondary-select-method servers for foreign servers.

Do I make any sense at all?


  Best regards,

    Adam

-- 
 "My internal clock is on Tokyo time."                        Adam Sjøgren
                                                         asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-09 14:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-06 20:51 Setting gnus-check-new-newsgroups to nil --> gnus-secondary-select-methods ignored Adam Sjøgren
2010-07-06 20:58 ` Adam Sjøgren
2010-07-06 23:57   ` [PATCH] Avoid opening secondary select methods as foreign servers Adam Sjøgren
2010-07-17 20:13     ` Adam Sjøgren
2010-08-03 19:10       ` Ted Zlatanov
2010-08-08 13:59         ` Adam Sjøgren
2010-08-08 14:14           ` Adam Sjøgren
2010-08-09 14:12             ` Ted Zlatanov

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).