Gnus development mailing list
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Re: gnus-search configuration example for notmuch
Date: Tue, 22 Mar 2022 10:58:00 +0100	[thread overview]
Message-ID: <87v8w6z4uv.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <87a6di2yim.fsf@free.fr>

Julien writes:

> What backend can you use gnus-search-notmuch with then ? And what search
> engines should you use with nnml and nndraft ?

I'm using notmuch with nnml - in gnus-secondary-select-methods I have:

    '(nnml ""
       (gnus-search-engine gnus-search-notmuch))

To search I put point on an nnml:-group and press G G.


To update the notmuch index I have:

    (defun asjo-notmuch-new ()
      "Run notmuch new"
      (start-process "notmuch" "*Notmuch*" "notmuch" "new"))

    (add-hook 'gnus-after-getting-new-news-hook 'asjo-notmuch-new)
    (add-hook 'gnus-started-hook 'asjo-notmuch-new)


  Best regards,

    Adam

-- 
 "Here we are again                                         Adam Sjøgren
  Waiting for the end"                                 asjo@koldfront.dk



  reply	other threads:[~2022-03-22 10:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 16:10 Julien Cubizolles
2022-03-21 23:33 ` Eric Abrahamsen
2022-03-22  8:16   ` Julien Cubizolles
2022-03-22  9:58     ` Adam Sjøgren [this message]
2022-03-22 10:28       ` Eric S Fraga
2022-03-22 11:31       ` Julien Cubizolles
2022-03-22 15:11     ` Eric Abrahamsen
2022-03-22 20:22       ` Dan Christensen
2022-03-23 16:37         ` Eric Abrahamsen
2022-03-23 17:03           ` Dan Christensen
2022-03-23 19:19             ` 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=87v8w6z4uv.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).