From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: searching for one person's replies in a gnus mailbox only, and not the rest. Date: Sat, 05 Dec 2015 21:47:42 +0100 Message-ID: <8737vgk4gh.fsf@debian.uxu> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449347876 19061 80.91.229.3 (5 Dec 2015 20:37:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2015 20:37:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 21:37:45 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 1a5JaT-0008HS-21 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2015 21:37:45 +0100 Original-Received: from localhost ([::1]:47687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5JaS-0001dR-E7 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2015 15:37:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5JaF-0001dJ-9r for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 15:37:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5JaB-0005JE-80 for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 15:37:31 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:36370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5JaB-0005J7-1a for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 15:37:27 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a5Ja9-0007eP-Hy for help-gnu-emacs@gnu.org; Sat, 05 Dec 2015 21:37:25 +0100 Original-Received: from nl106-137-244.student.uu.se ([130.243.137.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Dec 2015 21:37:25 +0100 Original-Received: from embe8573 by nl106-137-244.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Dec 2015 21:37:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 62 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-244.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:quaYTGYwiDFfsPHu0c33vqD9S04= 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:108305 Archived-At: 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...) -- underground experts united http://user.it.uu.se/~embe8573