From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69834 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: (gnus-summary-goto-article ) extremely slow for certain IMAP server Date: Mon, 26 Jul 2010 16:08:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87iq42x861.fsf@lifelogs.com> References: <201007262042.04971.tassilo@member.fsf.org> <87pqyayrfy.fsf@randomsample.de> <201007262143.28216.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1280178590 7402 80.91.229.12 (26 Jul 2010 21:09:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 21:09:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18224@lists.math.uh.edu Mon Jul 26 23:09:49 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdUvj-00012G-QZ for ding-account@gmane.org; Mon, 26 Jul 2010 23:09:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OdUvE-0001He-FE; Mon, 26 Jul 2010 16:09:16 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OdUvC-0001HP-Nj for ding@lists.math.uh.edu; Mon, 26 Jul 2010 16:09:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OdUv1-0007J1-QG for ding@lists.math.uh.edu; Mon, 26 Jul 2010 16:09:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OdUv1-0002re-00 for ; Mon, 26 Jul 2010 23:09:03 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdUuz-0000fJ-J3 for ding@gnus.org; Mon, 26 Jul 2010 23:09:01 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 23:09:01 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 23:09:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:2KegHxhpWpIwnt9ntsYUUOJfYjw= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69834 Archived-At: On Mon, 26 Jul 2010 21:43:02 +0200 Tassilo Horn wrote: TH> On Monday 26 July 2010 21:27:13 David Engster wrote: >> Yes. An IMAP server should be able to retrieve articles based on >> message-id's very quickly, since this is a pretty common task. TH> That's my impression, too. But at least Sébastiens Courier server seems TH> to think otherwise. Maybe it's only some config option the admins need TH> to enable, who knows... I use Courier and it's pretty fast for message-id searches. Perhaps Sébastien can run a local IMAP synced 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? Yes, but it wouldn't help for IMAP. IMAP article numbers are too mutable. The registry tries to be above the backend level and article numbers are too close to that level. But it's not hard at all to add extra data of any type; see gnus-registry-fetch-extra-entry and gnus-registry-store-extra-entry. The registry marks use those functions. On Mon, 26 Jul 2010 22:29:12 +0200 David Engster wrote: DE> (nth 1 (gnus-find-method-for-group group)) I think (gnus-method-to-server-name (gnus-find-method-for-group group)) is a little better. Ted