From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79108 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug with referring articles Date: Wed, 15 Jun 2011 20:29:43 +0200 Message-ID: <87boxzhrs8.fsf@member.fsf.org> References: <87fwnbr15c.fsf@fastmail.fm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308162597 18180 80.91.229.12 (15 Jun 2011 18:29:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 18:29:57 +0000 (UTC) Cc: Andreas Schwab , ding@gnus.org To: Dave Abrahams Original-X-From: ding-owner+M27407=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Jun 15 20:29:53 2011 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 1QWuqe-0005to-6T for ding-account@gmane.org; Wed, 15 Jun 2011 20:29:52 +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 1QWuqd-00030m-86 for ding-account@gmane.org; Wed, 15 Jun 2011 13:29:51 -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 1QWuqb-00030g-SH for ding@lists.math.uh.edu; Wed, 15 Jun 2011 13:29:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QWuqa-0002a4-FI for ding@lists.math.uh.edu; Wed, 15 Jun 2011 13:29:49 -0500 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QWuqY-0005JW-L1 for ding@gnus.org; Wed, 15 Jun 2011 20:29:46 +0200 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7D99D20AAF; Wed, 15 Jun 2011 14:29:45 -0400 (EDT) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 15 Jun 2011 14:29:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=1zHh2NzDCais5nZLxTFVTRdtR5w=; b=ZLrHsAmJZQiMBgdY16GMuIRoVL+w5s/VFnRD8Pj59RgvFhqnndKjj66+XRFkdlrfXtNg98wruSMR/1VlatfLu0T5LzhbVOxc2EcUzxU+JWqcTShcxT/z1hgDBIWf9xJauOPPA2d1ma+XGhVeQqDTVvN8ftVYleryq3aXeuYbsBs= X-Sasl-enc: 2n1Ewg92JagC2dc8hKsoq4tehUTJ7B3h42UCju7qsp7W 1308162585 Original-Received: from thinkpad (178-27-29-99-dynip.superkabel.de [178.27.29.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 751B6443948; Wed, 15 Jun 2011 14:29:44 -0400 (EDT) In-Reply-To: (Dave Abrahams's message of "Wed, 15 Jun 2011 12:59:59 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79108 Archived-At: Dave Abrahams writes: Hi Dave, > Well, I did some hacking around and some edebugging based on what you > pointed me at, and I was able to use some advice to get > `nnimap-find-article-by-message-id' to always look in my archive > group, and it found the article, but then of course the rest of > nnimap-request-article failed. > > I wonder if it would be reasonably easy to hack up a "derived" select > method based on nnimap that always forces itself to use one particular > group (mailbox)? That matches your usecase, but it's not very general... Out of couriosity, I just process-marked all ~12 folders of one of my imap servers in *Group* and did C-u G G HEADER Message-ID <87d3ig2qcf.fsf@yun.yagibdah.de> RET imap RET to search for lee's moved message in all folders containing about 50.000 messages in total using a plain IMAP seach. The nnir result buffer contained this single message and the search over all groups took about 3 seconds. So basically, I think it would be reasonable try nnir imap searches in the `current' refer method if that is imap. And of course, that should be shortcutting. In my search, actually the first group (INBOX) contained the message I was looking for, so there was no reason to search the other groups as well. Bye, Tassilo -- Sent from my Emacs