From: Tassilo Horn <tassilo@member.fsf.org>
To: David Engster <deng@randomsample.de>
Cc: ding@gnus.org, "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>,
"David Maus" <dmaus@ictsoc.de>
Subject: Re: (gnus-summary-goto-article <message-id>) extremely slow for certain IMAP server
Date: Mon, 26 Jul 2010 21:43:02 +0200 [thread overview]
Message-ID: <201007262143.28216.tassilo@member.fsf.org> (raw)
In-Reply-To: <87pqyayrfy.fsf@randomsample.de>
On Monday 26 July 2010 21:27:13 David Engster wrote:
> > We've edebugged and profiled the gnus code, and the culprit is the
> > function `nnimap-request-article-part'. When given a message-id instead
> > of an article number, that function will query the IMAP server with
> > `imap-search', and then emacs hangs 5 minutes till the server finally
> > responds.
> >
> > Ok, it's basically the server's fault,
>
> Yes. An IMAP server should be able to retrieve articles based on
> message-id's very quickly, since this is a pretty common task.
That's my impression, too. But at least Sébastiens Courier server seems
to think otherwise. Maybe it's only some config option the admins need
to enable, who knows...
> > but can't Gnus do any better? Especially, the mapping message-id to
> > article number is also contained in the .overview file of the group,
> > but it seems that this file is not checked.
>
> Yes. You could use nnimap-retrieve-headers-from-file and check if you
> find the MID there.
Hm, ok. How do I get server for a given nnimap+Foo:some.group spec?
`gnus-group-server'?
> > Or can this call to `imap-search' somehow be omitted by optional
> > Gnus features like the gnus registry?
>
> Probably, but currently the registry does not keep track of the
> article numbers, only of the groups. I guess this could easily be
> added, though?
>
> But why don't you just save the article number together with the
> message-id in the link?
Because article numbers can change on editable backends, for examply by
moving mail back and forth to other groups.
Bye,
Tassilo
next prev parent reply other threads:[~2010-07-26 19:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-26 18:42 Tassilo Horn
2010-07-26 19:27 ` David Engster
2010-07-26 19:43 ` Tassilo Horn [this message]
2010-07-26 20:29 ` David Engster
2010-07-26 21:08 ` Ted Zlatanov
2010-07-26 21:29 ` David Engster
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=201007262143.28216.tassilo@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=deng@randomsample.de \
--cc=ding@gnus.org \
--cc=dmaus@ictsoc.de \
--cc=wxhgmqzgwmuf@spammotel.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).