From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79457 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug with referring articles Date: Wed, 13 Jul 2011 08:15:14 -0400 Message-ID: <87tyaqnzql.fsf@andy.bu.edu> References: <87fwnbr15c.fsf@fastmail.fm> <8739j39v6a.fsf@andy.bu.edu> <87vcvybcb4.fsf@member.fsf.org> <87mxh3412x.fsf@andy.bu.edu> <87y60js0xb.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310559354 28041 80.91.229.12 (13 Jul 2011 12:15:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 12:15:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27753@lists.math.uh.edu Wed Jul 13 14:15:51 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 1QgyM0-0001jK-0X for ding-account@gmane.org; Wed, 13 Jul 2011 14:15:48 +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 1QgyLm-0007CH-G2; Wed, 13 Jul 2011 07:15:34 -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 1QgyLk-0007C0-PN for ding@lists.math.uh.edu; Wed, 13 Jul 2011 07:15:32 -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 1QgyLg-0004fG-Dq for ding@lists.math.uh.edu; Wed, 13 Jul 2011 07:15:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QgyLf-0002g0-1z for ding@gnus.org; Wed, 13 Jul 2011 14:15:27 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QgyLd-0001Zy-KO for ding@gnus.org; Wed, 13 Jul 2011 14:15:25 +0200 Original-Received: from andy.bu.edu ([128.197.41.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2011 14:15:25 +0200 Original-Received: from cohen by andy.bu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2011 14:15:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: andy.bu.edu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Sf4laMUHUs21E2HyC4zNgQcjkT8= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79457 Archived-At: >>>>> "Dave" == Dave Abrahams 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