From: Mark Plaksin <happy@mcplaksin.org>
Subject: nnimap: Server buffer vs secondary-select-methods
Date: Sun, 30 Jan 2005 11:45:59 -0500 [thread overview]
Message-ID: <m3acqqc1bs.fsf@water.tss.usg.edu> (raw)
Checking nnimap groups added via the Server buffer is very slow unless you
also add them to gnus-secondary-select-methods. When groups are added via
Server, Gnus opens a new IMAP connection each time it checks them. I'm
using CVS Gnus updated today.
For example, I added a brand-new IMAP server via the Server buffer:
(nnimap "example"
(nnimap-address "example.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-list-pattern
("INBOX" "Mail/*")))
Then I hit SPC on the new server and subscribed to a group. After that,
whenever I g in the Summary buffer, Gnus will open a new connection to
example.com to check the folder. It opens a connection every time I hit
g.
If I add the server to gnus-secondary-select-methods, Gnus opens the
connection once the first time it checks the folder and reuses the
connection after that.
Is there a reason for this behavior? Surely I'm missing something!
Looking at the code, before the server is in gnus-secondary-select-methods
nnimap-server-opened decides the server isn't open because this
nnoo-server-opened call says it's not:
(nnoo-server-opened 'nnimap (or server nnimap-current-server))
I have always struggled to understand the difference between using the
Server buffer and using gnus-secondary-select-methods. Today I made Gnus a
zillion times (no exaggeration :) faster by finally putting my IMAP servers
into gnus-secondary-select-methods.
next reply other threads:[~2005-01-30 16:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-30 16:45 Mark Plaksin [this message]
2005-02-04 19:50 ` David Abrahams
2005-02-04 21:44 ` Mark Plaksin
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=m3acqqc1bs.fsf@water.tss.usg.edu \
--to=happy@mcplaksin.org \
/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).