Gnus development mailing list
 help / color / mirror / Atom feed
From: Andrew Cohen <cohen@andy.bu.edu>
To: ding@gnus.org
Subject: Re: Bug with referring articles
Date: Wed, 13 Jul 2011 08:15:14 -0400	[thread overview]
Message-ID: <87tyaqnzql.fsf@andy.bu.edu> (raw)
In-Reply-To: <m2vcv8a9x2.fsf@pluto.luannocracy.com>

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


    Dave> This is really nice!  I can get this to work for my current
    Dave> server by setting `gnus-refer-article-method' to:

    Dave>   (current (nnir))

    Dave> [However, I note that the customization interface doesn't give
    Dave> me any way to produce that value]

I'll get around to adding the customize stuff at some point.

    Dave> The first problem with this is that it searches all the groups
    Dave> (of which I happen to have many).  Since I'm using Gmail's
    Dave> servers, there's one group (called [Gmail]/All Mail) where it
    Dave> can find every message.  Is there a way to get it to look in
    Dave> just that one group?

Certain group scan be eliminated from nnir searching by using the
variable `nnir-ignored-newsgroups'. This is a regex so you should be
able to configure it to do what you want. However you might consider
doing the opposite (leave out the "All Mail" group and search the
rest). Although possibly slower, this will keep the information about
what group each found message is in which could be helpful if you do
much sorting of messages into different groups.

    Dave> Secondly, I couldn't figure out what should go in the element
    Dave> after nnir if I wanted to specify that server directly.
    Dave> Here's my `gnus-select-method':

Each element in `gnus-refer-article-method' is a select method (with the
exception of the special symbol `current'). You can read about select
methods in the manual. The specification of an nnir select method has
the usual form (nnir "server").  Leaving out the server simply defaults
to searching the server from which the article-referral process was
called.


    Dave>   (nnimap "BoostPro" (nnimap-address "imap.gmail.com")
    Dave> (nnimap-stream ssl) (nnimap-authenticator login)
    Dave> (nnimap-nov-is-evil t))

This is a valid select method for an nnimap server. It will have nothing
to do with searching with nnir.

    Dave> Lastly, is there any way to get this lookup to try the agent
    Dave> first?  If I have the article on my local machine and I'm
    Dave> disconnected, it seems like I ought to be able to get to it
    Dave> still.

I don't know much about the agent. I believe that the agent is is set on
a per-server basis. Since nnir is about searching only (it produces
"ephemeral" groups) it can't be agentized.

Regards,
Andy




  reply	other threads:[~2011-07-13 12:15 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 18:43 chasing mail threads Dave Abrahams
2011-06-14 20:57 ` Andreas Schwab
2011-06-15  4:30   ` Dave Abrahams
2011-06-15  7:42     ` Bug with referring articles (was: chasing mail threads) Tassilo Horn
2011-06-15  8:01       ` Dave Abrahams
2011-06-15 16:59         ` Dave Abrahams
2011-06-15 18:29           ` Bug with referring articles Tassilo Horn
2011-06-15 22:16             ` Dave Abrahams
2011-06-15 22:20               ` Dave Abrahams
2011-06-16  6:01                 ` Vegard Vesterheim
2011-06-16 11:45                   ` Andrew Cohen
2011-06-16 18:08                   ` Dave Abrahams
2011-06-16  6:51               ` Tassilo Horn
2011-06-16 18:10                 ` Dave Abrahams
2011-06-16 19:51                   ` Tassilo Horn
2011-06-17  1:06                     ` Ted Zlatanov
2011-06-17  7:30                       ` Tassilo Horn
2011-06-28 14:23                         ` Ted Zlatanov
2011-06-28 18:01                           ` Tassilo Horn
2011-06-28 18:50                             ` Ted Zlatanov
2011-06-17 11:30                       ` Andrew Cohen
2011-06-30 22:54                     ` Dave Abrahams
2011-06-30 23:02                       ` Lars Magne Ingebrigtsen
2011-06-30 23:02                       ` Andrew Cohen
2011-07-01 22:15                         ` Tassilo Horn
2011-07-01 22:39                           ` Andrew Cohen
2011-07-01 22:50                             ` Tassilo Horn
2011-07-01 23:48                               ` Andrew Cohen
2011-07-02 10:33                                 ` Tassilo Horn
2011-07-02 12:02                                   ` Andrew Cohen
2011-07-02 15:23                                     ` Tassilo Horn
2011-07-02 12:43                           ` Andrew Cohen
2011-07-02 15:11                             ` Tassilo Horn
2011-07-11 19:12                         ` Dave Abrahams
2011-06-21 13:21       ` Andrew Cohen
2011-06-22  6:38         ` Tassilo Horn
2011-06-26  9:40           ` Lars Magne Ingebrigtsen
2011-06-27 17:48             ` Andrew Cohen
2011-06-27 17:55               ` Tassilo Horn
2011-06-30  2:24               ` Lars Magne Ingebrigtsen
2011-06-30 17:07                 ` Andrew Cohen
2011-07-11 19:34                   ` Dave Abrahams
2011-07-13 12:15                     ` Andrew Cohen [this message]
2011-07-13 19:09                       ` Dave Abrahams
2011-07-13 21:40                         ` Andrew Cohen
2011-07-11 18:44             ` Dave Abrahams
2011-06-14 23:59 ` chasing mail threads prad
2011-06-15  9:57 ` Steinar Bang

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=87tyaqnzql.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).