Subject: 24.0.50; gnus-no-server tries to connect to IMAP server

From: Daiki Ueno <[email-masked]>
Date: Thu, 30 Jun 2011 15:59:05 +0900

I have been using M-x gnus-no-server to reduce Gnus startup time when
using it off-line.  However, the current Gnus always tries to connect to
all the known servers on startup.  Here is my configuration (host names
are masked):

(setq gnus-select-method '(nnnil "")
      gnus-secondary-select-methods
      '((nnimap "a"
		(nnimap-address "a.example.org")
		(nnimap-username "daiki")
		(nnir-search-engine imap))
	(nnimap "b"
		(nnimap-address "b.example.com")
		(nnimap-username "dueno")
		(nnir-search-engine imap))))

Here is the log:

Reading /home/ueno/.newsrc.eld...
Checking new news...
Reading active file via nnnil...done
Reading active file from a via nnimap...
Opening nnimap server on a...
Opening connection to a.example.org via tls...
Opening nnimap server on a...done
Reading active file from a via nnimap...done
Reading active file from b via nnimap...
Opening nnimap server on b...
Opening connection to b.example.com via tls...
Opening nnimap server on b...done
Reading active file from b via nnimap...done
Reading active file via nndraft...done
Checking new news...done

In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.0.11)
 of 2011-06-30 on localhost.localdomain
Windowing system distributor `Fedora Project', version 11.0.11002000
configured using `configure  '--with-x-toolkit=gtk3''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  which-function-mode: t
  recentf-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x g n u s SPC n o SPC SPC <return> y <escape> 
x r e p o r t SPC e m <tab> <return>

Recent messages:
Reading active file from daiki via nnimap...done
Reading active file from redhat via nnimap...
Opening nnimap server on redhat...
Opening connection to mail.corp.redhat.com via tls...
Opening nnimap server on redhat...done
Reading active file from redhat via nnimap...done
Reading active file via nndraft...done
Checking new news...done
No Gnus is good news
No more unread newsgroups

Load-path shadows:
~/.emacs.d/custom hides /usr/local/share/emacs/24.0.50/lisp/custom
~/.emacs.d/socks hides /usr/local/share/emacs/24.0.50/lisp/net/socks

Features:
(shadow sort gnus-cite flyspell ispell mail-extr emacsbug gnus-topic
nndraft nnmh utf-7 plstore epg gnutls network-stream auth-source eieio
byte-opt bytecomp byte-compile cconv assoc starttls nnimap parse-time
tls utf7 netrc nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime password-cache dig mailcap nntp gnus-cache nnir gnus-sum macroexp
gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec
gnus-int gnus-range message sendmail regexp-opt format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader gnus-util time-date mail-utils mm-util mail-prsvr uniquify
advice help-fns advice-preload deal which-func imenu recentf tree-widget
wid-edit easymenu iswitchb cus-start cus-load tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)