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


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

>>>>>> "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.

OK.  I think, while you're at it, some documentation is needed of what
the "Options" field means when setting up nnir there.

>     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. 

Ah, thanks!

> 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.

Not useful enough to justify the slowdown.  Seriously, it's **really**
slow.  I have too many groups.  I mostly don't sort messages anymore;
most of what's there is legacy stuff.

>     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. 

I'm familiar with them, thanks.

> 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.

Yes, my problem is how to specify the "server" element.

>     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.

Inasmuch as it describes my server, I thought it would help you describe
what should go in the "server" element.

>     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.

Interestingly, it does seem to change the behavior of nnir: 
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9058

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




  reply	other threads:[~2011-07-13 19:09 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
2011-07-13 19:09                       ` Dave Abrahams [this message]
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=m2liw2uhe4.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).