From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79440 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug with referring articles Date: Mon, 11 Jul 2011 15:34:33 -0400 Message-ID: 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 1310412922 11772 80.91.229.12 (11 Jul 2011 19:35:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 19:35:22 +0000 (UTC) Cc: John Wiegley To: ding@gnus.org Original-X-From: ding-owner+M27736@lists.math.uh.edu Mon Jul 11 21:35:14 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 1QgMG8-0007La-OD for ding-account@gmane.org; Mon, 11 Jul 2011 21:35:13 +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 1QgMFs-0005wk-PL; Mon, 11 Jul 2011 14:34:56 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QgMFr-0005wS-8v for ding@lists.math.uh.edu; Mon, 11 Jul 2011 14:34:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QgMFm-0007fA-62 for ding@lists.math.uh.edu; Mon, 11 Jul 2011 14:34:55 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QgMFk-0008P4-PO for ding@gnus.org; Mon, 11 Jul 2011 21:34:48 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QgMFk-0007CB-6b for ding@gnus.org; Mon, 11 Jul 2011 21:34:48 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2011 21:34:48 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2011 21:34:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:4nzOerQr1g3Hzb7PEG+35siASEQ= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79440 Archived-At: on Thu Jun 30 2011, Andrew Cohen wrote: >>>>>> "Lars" == Lars Magne Ingebrigtsen writes: > > Lars> Please apply, so that people can test it out. :-) > > > OK, if you insist:) > > Comments: > > 1. You can add nnir to the list of referral methods as (nnir > "server"). If the server part is absent (e.g. (nnir)) then the current server > is used. My value for gnus-refer-article-method is > > gnus-refer-article-method is a variable defined in `gnus.el'. > Its value is (current > (nnregistry) > (nnir) > (nnir "gmail")) > > 2. Imap searching doesn't span groups, so nnir just searches each group > on the server in turn. This might be slow (although its pretty fast for > me). This is really nice! I can get this to work for my current server by setting `gnus-refer-article-method' to: (current (nnir)) [However, I note that the customization interface doesn't give me any way to produce that value] The first problem with this is that it searches all the groups (of which I happen to have many). Since I'm using Gmail's servers, there's one group (called [Gmail]/All Mail) where it can find every message. Is there a way to get it to look in just that one group? Secondly, I couldn't figure out what should go in the element after nnir if I wanted to specify that server directly. Here's my `gnus-select-method': (nnimap "BoostPro" (nnimap-address "imap.gmail.com") (nnimap-stream ssl) (nnimap-authenticator login) (nnimap-nov-is-evil t)) Lastly, is there any way to get this lookup to try the agent first? If I have the article on my local machine and I'm disconnected, it seems like I ought to be able to get to it still. All assistance greatly appreciated, -- Dave Abrahams BoostPro Computing http://www.boostpro.com