Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: ding@gnus.org
Subject: Re: thread referral and nnir
Date: Sat, 23 Jul 2011 20:48:10 -0400	[thread overview]
Message-ID: <m24o2ccxmd.fsf@pluto.luannocracy.com> (raw)
In-Reply-To: <8762msdfy5.fsf@andy.bu.edu>


on Sat Jul 23 2011, Andrew Cohen <cohen-AT-andy.bu.edu> wrote:

>>>>>> "Dave" == Dave Abrahams <dave@boostpro.com> writes:
>
>     Dave> on Sat Jul 23 2011, Andrew Cohen <cohen-AT-andy.bu.edu> 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> <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>)
>     Dave> (header references
>     Dave> <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>)
>
>     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. 

Yeah, it's doing what I expect:

Retrieving newsgroup: nnir:((query . "(or (header message-id <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>) (header references <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>))") (unique-id . "m2aac4cxyd.fsf"))...
Fetching headers for nnir:((query . "(or (header message-id <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>) (header references <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>))") (unique-id . "m2aac4cxyd.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.
 
>
> 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 <m2vcvem90x.fsf@pluto.luannocracy.com> HEADER REFERENCES <m2vcvem90x.fsf@pluto.luannocracy.com>) (OR (OR HEADER Message-Id <CAHka5EVNxMNuVHNG5Judxewxf9ibhf=P0k18V0-XxbaaxpdySA@mail.gmail.com> HEADER REFERENCES <CAHka5EVNxMNuVHNG5Judxewxf9ibhf=P0k18V0-XxbaaxpdySA@mail.gmail.com>) (OR (OR HEADER Message-Id <m2fwminr94.fsf@pluto.luannocracy.com> HEADER REFERENCES <m2fwminr94.fsf@pluto.luannocracy.com>) (OR (OR HEADER Message-Id <BANLkTimwECBRcqK6Joi8Scbcdk8AhD2=VQ@mail.gmail.com> HEADER REFERENCES <BANLkTimwECBRcqK6Joi8Scbcdk8AhD2=VQ@mail.gmail.com>) (OR (OR HEADER Message-Id <m2pqp0hf43.wl%dave@boostpro.com> HEADER REFERENCES <m2pqp0hf43.wl%dave@boostpro.com>) (OR (OR HEADER Message-Id <AANLkTi=fmvEEZVK97cCHCJy3g4YPFY2pPWPqOmZM+N1t@mail.gmail.com> HEADER REFERENCES <AANLkTi=fmvEEZVK97cCHCJy3g4YPFY2pPWPqOmZM+N1t@mail.gmail.com>) (OR (OR HEADER Message-Id <m2mxkmq74b.wl%dave@boostpro.com> HEADER REFERENCES <m2mxkmq74b.wl%dave@boostpro.com>) (OR (OR HEADER Message-Id <AANLkTimQf5HnfrpiKfZY6Wgh6wjkDtdyZYmDDEcvux+6@mail.gmail.com> HEADER REFERENCES <AANLkTimQf5HnfrpiKfZY6Wgh6wjkDtdyZYmDDEcvux+6@mail.gmail.com>) (OR (OR HEADER Message-Id <m2wrjqqpm8.wl%dave@boostpro.com> HEADER REFERENCES <m2wrjqqpm8.wl%dave@boostpro.com>) (OR (OR HEADER Message-Id <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com> HEADER REFERENCES <AANLkTimeXrbYJDTmXhBWsOMg-jEmfJ9T4TdcVLuuHCfy@mail.gmail.com>) (OR HEADER REFERENCES <CAHka5EXZTg-=UX4O+LdLt6YTvi7GFBmwLs7x2cFKRK9t+cx1zA@mail.gmail.com> HEADER Message-Id <CAHka5EXZTg-=UX4O+LdLt6YTvi7GFBmwLs7x2cFKRK9t+cx1zA@mail.gmail.com>)))))))))))"

It seems like an awful lot of "OR" nesting.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




  reply	other threads:[~2011-07-24  0:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 16:40 Andrew Cohen
2011-07-23 17:38 ` Dave Abrahams
2011-07-23 18:12   ` Andrew Cohen
2011-07-24  0:48     ` Dave Abrahams [this message]
2011-07-24  2:18       ` Andrew Cohen
2011-07-24 13:00         ` Andrew Cohen
2011-07-24 17:02           ` Dave Abrahams
2011-07-24 18:11             ` Andrew Cohen
2011-07-24 20:07               ` Dave Abrahams
2011-07-25 12:15                 ` glitches [was: thread referral and nnir] Dave Abrahams
2011-07-24 13:31         ` thread referral and nnir Dave Abrahams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24o2ccxmd.fsf@pluto.luannocracy.com \
    --to=dave@boostpro.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).