all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <87lh98qqgs.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 8737vgk4gh.fsf@debian.uxu

Emanuel Berg <embe8573@student.uu.se> writes:

> Emanuel Berg <embe8573@student.uu.se> 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 <search string> 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...




  reply	other threads:[~2015-12-06  2:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 18:57 searching for one person's replies in a gnus mailbox only, and not the rest Sharon Kimble
2015-12-01 23:46 ` Emanuel Berg
2015-12-02 16:02   ` Eric S Fraga
2015-12-03  0:30     ` Emanuel Berg
2015-12-03  8:47       ` Eric S Fraga
2015-12-04  0:33         ` Emanuel Berg
2015-12-05 11:06           ` Will O'Brien
2015-12-05 14:20             ` Eric Abrahamsen
2015-12-05 19:45               ` Emanuel Berg
2015-12-05 20:47                 ` Emanuel Berg
2015-12-06  2:08                   ` Eric Abrahamsen [this message]
2015-12-07  2:51                     ` Emanuel Berg
2015-12-07  3:14                       ` Eric Abrahamsen

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=87lh98qqgs.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.