From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79551 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: thread referral and nnir Date: Sat, 23 Jul 2011 20:48:10 -0400 Message-ID: References: <87ei1hc5mm.fsf@andy.bu.edu> <8762msdfy5.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311468572 28087 80.91.229.12 (24 Jul 2011 00:49:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2011 00:49:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27847@lists.math.uh.edu Sun Jul 24 02:49:28 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 1Qkmsp-0005uY-9o for ding-account@gmane.org; Sun, 24 Jul 2011 02:49: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 1Qkmrw-00011r-MS; Sat, 23 Jul 2011 19:48:32 -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 1Qkmru-00011b-Qn for ding@lists.math.uh.edu; Sat, 23 Jul 2011 19:48:30 -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 1Qkmrr-0002x7-5S for ding@lists.math.uh.edu; Sat, 23 Jul 2011 19:48:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qkmro-0007FQ-8j for ding@gnus.org; Sun, 24 Jul 2011 02:48:24 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qkmrm-0005hs-Gf for ding@gnus.org; Sun, 24 Jul 2011 02:48:22 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Jul 2011 02:48:22 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Jul 2011 02:48:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 82 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:oZXv4/zlcV3XzKiZd71g9bbJqGc= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79551 Archived-At: on Sat Jul 23 2011, Andrew Cohen wrote: >>>>>> "Dave" =3D=3D Dave Abrahams writes: > > Dave> on Sat Jul 23 2011, Andrew Cohen wrote: > > [...] > > > Dave> Nice; it works well! > > Dave> However, I do have a message for which `^' finds the parent > Dave> article via nnir but where `C-u A T' fails, saying the search > Dave> produced no results. On the other hand, when I execute the > Dave> nnir IMAP search I prescribed in the other thread > > Dave> or (header message-id > Dave> ) > Dave> (header references > Dave> ) > > Dave> it works perfectly. So something is not quite sufficient in > Dave> the query. > > OK, lets try to debug this. First, can you verify that `C-u A T' > searched the groups you think it should be searching? You can check the > *Messages* buffer to see.=20 Yeah, it's doing what I expect: Retrieving newsgroup: nnir:((query . "(or (header message-id ) (header references ))") (unique-id . "= m2aac4cxyd.fsf"))... Fetching headers for nnir:((query . "(or (header message-id ) (header references ))") (unique-id . "m= 2aac4cxyd.fsf"))...done Opening nnir server on nnimap:BoostPro-ephemeral...done Opening server BoostPro Searching nnimap+BoostPro:[Gmail]/All Mail...done Search produced empty results. It may be that Gmail just doesn't like the size of that query. =20 > > Assuming that it did, try to evaluate `nnimap-make-thread-query' on the > header of the parent message and see what it returns. Assuming I know what you mean by "the header of the parent message," I get: "(OR (OR HEADER Message-Id HEADER = REFERENCES ) (OR (OR HEADER Message-I= d HE= ADER REFERENCES ) (OR (OR HEADER Message-Id HEADER REFERENCES ) (OR (OR HEADER= Message-Id HEADER R= EFERENCES ) (OR (OR H= EADER Message-Id HEADER REFERENCES ) (OR (OR HEADER Message-Id HEADER REFERENCES ) (OR (OR HEADER Messag= e-Id HEADER REFERENCES ) (OR (OR HEADER Message-Id HEADER REFERENCES ) (OR (OR HEADER Message-Id HEADER REFERENCES )= (OR (OR HEADER Message-Id HEADER REFERENCES ) (OR HEADER REFERENCES HEADER Message-Id )))))))))))" It seems like an awful lot of "OR" nesting. --=20 Dave Abrahams BoostPro Computing http://www.boostpro.com