From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79106 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug with referring articles (was: chasing mail threads) Date: Wed, 15 Jun 2011 12:59:59 -0400 Message-ID: References: <87fwnbr15c.fsf@fastmail.fm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1308157282 16317 80.91.229.12 (15 Jun 2011 17:01:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 17:01:22 +0000 (UTC) Cc: Andreas Schwab , ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M27405@lists.math.uh.edu Wed Jun 15 19:01:17 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 1QWtSp-0006sS-Lj for ding-account@gmane.org; Wed, 15 Jun 2011 19:01:11 +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 1QWtRv-0002b5-Dc; Wed, 15 Jun 2011 12:00:15 -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 1QWtRt-0002at-SC for ding@lists.math.uh.edu; Wed, 15 Jun 2011 12:00:13 -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 1QWtRr-0002Bg-Km for ding@lists.math.uh.edu; Wed, 15 Jun 2011 12:00:13 -0500 Original-Received: from mail-qy0-f179.google.com ([209.85.216.179]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QWtRp-00030f-6i for ding@gnus.org; Wed, 15 Jun 2011 19:00:09 +0200 Original-Received: by qyk7 with SMTP id 7so395487qyk.17 for ; Wed, 15 Jun 2011 10:00:03 -0700 (PDT) Original-Received: by 10.224.104.80 with SMTP id n16mr639432qao.361.1308157202774; Wed, 15 Jun 2011 10:00:02 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) by mx.google.com with ESMTPS id r32sm454458qcs.26.2011.06.15.10.00.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 10:00:01 -0700 (PDT) In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/23.3 (x86_64-apple-darwin) MULE/6.0 (HANACHIRUSATO) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79106 Archived-At: At Wed, 15 Jun 2011 04:01:22 -0400, Dave Abrahams wrote: > > > The problem is that `gnus-summary-insert-subject' doesn't find the > > referred article (1), although its on the same server but a different > > IMAP folder. But instead it inserts a pseudo-article and returns 0, > > thus the `when' succeeds and 'found is thrown and no other refer methods > > are tried. > > > > IMHO, the pseudo-article should be inserted only after all refer methods > > failed... > > > > (1) Is it correct that IMAP has no way to find a message by Message-ID > > in all folders? > > I think maybe that is correct. In my case, I'm even willing to tell > it what folder to search in, but it looks like Gnus doesn't give me a > way to express that. I tried using the nnimap-inbox option, but that > didn't seem to lead anywhere. 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)? Then I could put that in my gnus-refer-article-method and it would fall back to using it when the article wasn't in my current mailbox. -- Dave Abrahams BoostPro Computing http://www.boostpro.com