Gnus development mailing list
 help / color / mirror / Atom feed
From: Andrew Cohen <cohen@andy.bu.edu>
To: ding@gnus.org
Subject: Re: `gnus-refer-article-methods' and `gnus-summary-refer-thread'
Date: Fri, 22 Jul 2011 20:20:22 -0400	[thread overview]
Message-ID: <87r55honjt.fsf@andy.bu.edu> (raw)
In-Reply-To: <m24o2e3wgo.fsf@pluto.luannocracy.com>

>>>>> "Dave" == Dave Abrahams <dave@boostpro.com> writes:

    Dave> It's a bit curious that when I'm sitting on the root of a
    Dave> thread, `A T' doesn't find the rest of it via nnir when I have
    Dave> that in `gnus-refer-article-methods'.  

`A T' (gnus-summary-refer-thread) doesn't use gnus-refer-article-methods
at all. This is distinct from `^` (gnus-summary-refer-parent-article)
which consults the entries in `gnus-refer-article-methods' in order
until the parent is found.

For nnimap groups `A T' searches /in the current group/ for any article
that is referenced in the primary article, or refers to the primary
article or any of its references. In rare cases where mailers have not
properly coordinated references it is possible for this to miss
articles, but it should be rare and avoiding it would require recursing
searches which would be very slow.

What it does /not/ do is search across multiple groups, and this is the
most likely reason for not finding all articles within a thread.  The
current function adds the found articles from the current group into the
summary buffer. Nnir creates an ephemeral group which can contain
articles from multiple groups which is substantively different.  Having
said that I am just about to check in a modification that will allow
searching across multiple groups through the use of a prefix-arg or
setting a variable. Rather than calling the current
`gnus-summary-refer-thread' this will construct the same imap search
pattern but use nnir to search across the entire server and create an
ephemeral group with the results.

HTH,
Andy




  reply	other threads:[~2011-07-23  0:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 20:13 Dave Abrahams
2011-07-23  0:20 ` Andrew Cohen [this message]
2011-07-23 15:28   ` Dave Abrahams
2011-07-23 16:02     ` Andrew Cohen
2011-07-23 17:16       ` Dave Abrahams
2011-07-23 17:25         ` Andrew Cohen
2011-07-23 17:33           ` Dave Abrahams
2011-07-29 17:05             ` nnir and agent (was: `gnus-refer-article-methods' and `gnus-summary-refer-thread') 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=87r55honjt.fsf@andy.bu.edu \
    --to=cohen@andy.bu.edu \
    --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).