From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: searching for one person's replies in a gnus mailbox only, and not the rest. Date: Sun, 06 Dec 2015 10:08:03 +0800 Message-ID: <87lh98qqgs.fsf@ericabrahamsen.net> References: <87d1uq2e0a.fsf@skimble.plus.com> <87egf5bulw.fsf@debian.uxu> <877fkw25zz.fsf@delle7240.chemeng.ucl.ac.uk> <87mvts5q6v.fsf@debian.uxu> <87zixror4o.fsf@delle7240.chemeng.ucl.ac.uk> <87poynuk6c.fsf@debian.uxu> <87y4d9q8ob.fsf@ericabrahamsen.net> <87610cd6hf.fsf@debian.uxu> <8737vgk4gh.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449367741 29717 80.91.229.3 (6 Dec 2015 02:09:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2015 02:09:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 03:08:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a5Oko-0002R0-I6 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Dec 2015 03:08:46 +0100 Original-Received: from localhost ([::1]:48389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5Oko-0000ba-2D for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2015 21:08:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5Okc-0000aF-86 for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 21:08:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5OkY-0000P8-N2 for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 21:08:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5OkY-0000Ok-Fx for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 21:08:30 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a5OkL-0001PF-Ui for help-gnu-emacs@gnu.org; Sun, 06 Dec 2015 03:08:18 +0100 Original-Received: from 114.248.0.149 ([114.248.0.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 03:08:17 +0100 Original-Received: from eric by 114.248.0.149 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 03:08:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 65 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.0.149 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:VfvCRs/6yCsO4IUeMgU+X5eIHIk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108311 Archived-At: Emanuel Berg writes: > Emanuel Berg writes: > >>>>> The reason it didn't work earlier was that >>>>> I tried it on mail.misc and mail.sent which both >>>>> use nnml and not nntp as does Gmane! Good to >>>>> know, only optimally, the same should work >>>>> transparently for both nnml and nntp, right? >>>> >>>> I believe it can be configured to work with nnml. >>>> You will need a custom nnir backend. IIRC namazu >>>> and swish(e|++) can both be used here. ... >>> >>> Right -- I think the main point, implicit in Will's >>> answer, is that Gnus doesn't index or search >>> anything by itself. Nnir is its interface to the >>> search functionality provided by any given backend. >>> Backends like nnimap and nntp come with their own >>> search abilities, but nnml is just files on disk: >>> you need a program to do the searching, then nnir >>> will talk to that program. >> >> OK, so it should work like this: >> >> nnml -> nnir -> namazu, or swish(el++) >> >> I'll be back if/when I get it to work... > > On Debian: > > sudo aptitude install namazu namazu2-index-tools > > Then get this file: > > https://github.com/deftsp/.emacs.d/blob/master/packages/gnus-namazu.el > > Gunzip (and restore the .el suffix), then move the > file to `load-path'. > > In Emacs: > > (require 'gnus-namazu) > (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu)) > (nntp "news.gmane.org") > (nntp "news.gwene.org") > (nntp "news.gnus.org") > )) > > Then: > > M-x gnus-namazu-create-index RET > > (wait) > > M-x gnus-namazu-search RET > > This searches *all* groups, not just the one at point > as with `G G' (which still doesn't work for nnml, > perhaps some setting is still not in effect...) Have you checked the "will 8.1.3.6 The namazu Engine" section of the gnus info manual? My guess is you'll still need to set the `nnir-namazu-remove-prefix' variable. That might be enough, but check that info page...