From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69829 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: (gnus-summary-goto-article ) extremely slow for certain IMAP server Date: Mon, 26 Jul 2010 20:42:04 +0200 Message-ID: <201007262042.04971.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: quoted-printable X-Trace: dough.gmane.org 1280169810 5194 80.91.229.12 (26 Jul 2010 18:43:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 18:43:30 +0000 (UTC) Cc: "=?iso-8859-1?q?S=E9bastien?= Vauban" , David Maus To: ding@gnus.org Original-X-From: ding-owner+M18219@lists.math.uh.edu Mon Jul 26 20:43:27 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 1OdSe6-0002bm-W1 for ding-account@gmane.org; Mon, 26 Jul 2010 20:43:27 +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 1OdSd4-0000YY-EG; Mon, 26 Jul 2010 13:42:22 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OdSd2-0000YG-Pw for ding@lists.math.uh.edu; Mon, 26 Jul 2010 13:42:20 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OdSd0-0001W2-Mq for ding@lists.math.uh.edu; Mon, 26 Jul 2010 13:42:20 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OdScz-0000zj-00 for ; Mon, 26 Jul 2010 20:42:18 +0200 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 4203D16F883; Mon, 26 Jul 2010 14:42:07 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 26 Jul 2010 14:42:07 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:cc:mime-version:content-type:content-transfer-encoding:message-id; s=smtpout; bh=wzL/8eyOONFsH/V442Apxr7gsIA=; b=WXbxWc3q2/+AG9GW2+o/pbrdg7yL+04/l8+S2J90vgvFpwr1VkfAZ/yCrtiDaKb8EvsfXgMgH/TbC3g3/SgvUo3YnQql8Jx6XsXUl1pXOqD+Q7NJKAYc4q/R7z6/tqeCVKgjCVxG0aucyoPUgpGGa6jAtb72pXyyH0qPBXqIqdM= X-Sasl-enc: ArMjp18NJFPeeCXOjynBAdEkoJ8ZTf+QRCRzrFHzhjq2 1280169726 Original-Received: from thinkpad.localnet (p54AF1E01.dip0.t-ipconnect.de [84.175.30.1]) by mail.messagingengine.com (Postfix) with ESMTPSA id B578E4FAF76; Mon, 26 Jul 2010 14:42:06 -0400 (EDT) User-Agent: KMail/1.13.5 (Linux/2.6.35-rc6-git1; KDE/4.4.5; x86_64; ; ) X-Face: `TY6r/ws=N5uqO1E`M=Sups<}n%T[E^o_?MJj< =?utf-8?q?O4j=265ljV6lU=7DcXU7oftH=26/x=5F=7EK=7B=26zv9=7D=0A=09sB=7D5/Ea=5B?= =?utf-8?q?hU=7BCS=23=3F=3F0=3F=3Fn?=@sX+ft]?{(l?,mp"a`u Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69829 Archived-At: Hi all, I maintain Org-mode's org-gnus.el, which allows linking to Gnus articles in Org-mode. Links to articles are stored by their group and their message-id. When following a link a call like (gnus-summary-goto-article ) will be done. Unfortunately, for S=E9bastien (in Cc) this call to a message on some IMAP server takes ages for bigger groups (~5 minutes). 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, 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. Or can this call to `imap-search' somehow be omitted by optional Gnus features like the gnus registry? You can check the full Org-mode thread with the report and all debugging details at http://thread.gmane.org/gmane.emacs.orgmode/26722/focus=3D27590 Bye, Tassilo