From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: physiculus <physiculus@gmail.com>
Cc: gnus <info-gnus-english@gnu.org>
Subject: Re: how do i use nnir with notmuch?
Date: Fri, 24 Jan 2020 06:50:23 +0000 [thread overview]
Message-ID: <87r1zpbb6c.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87blqu9foi.fsf@googlemail.com> (physiculus@gmail.com's message of "Thu, 23 Jan 2020 19:43:41 +0100")
On Thursday, 23 Jan 2020 at 19:43, physiculus wrote:
> i try to use notmuch with gnus for my nnmaildir. therefore i put notmuch
> inside default search engine.
> but unfortunately a query always result with empty results.
> does anybody knows if this engine works?
Yes, notmuch works, at least for nnml in my case. You have to create
and update the search database using "notmuch new" periodically outside
gnus. I use crontab for this.
Within gnus, you have to do something along these lines:
#+begin_src emacs-lisp
(require 'nnir)
(push '(nnml . notmuch) nnir-method-default-engines)
;; the following turns off new behaviour that limited search to specific groups
(setq nnir-notmuch-filter-group-names-function nil)
#+end_src
Finally, you may have to define appropriate settings (e.g. the database)
in your ~/.notmuch-config configuration file.
HTH,
eric
--
Eric S Fraga via Emacs 28.0.50 & org 9.3.1 on Debian bullseye/sid
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2020-01-24 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-23 18:43 physiculus
2020-01-24 6:50 ` Fraga, Eric [this message]
2020-01-24 16:39 ` physiculus
2020-01-24 17:35 ` Fraga, Eric
2020-01-24 21:11 ` Adam Sjøgren via info-gnus-english
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=87r1zpbb6c.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=info-gnus-english@gnu.org \
--cc=physiculus@gmail.com \
/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).