Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: physiculus <physiculus@gmail.com>
To: "Fraga\, Eric" <e.fraga@ucl.ac.uk>,gnus <info-gnus-english@gnu.org>
Subject: Re: how do i use nnir with notmuch?
Date: Fri, 24 Jan 2020 17:39:27 +0100	[thread overview]
Message-ID: <87sgk4x0zk.fsf@googlemail.com> (raw)
In-Reply-To: <87r1zpbb6c.fsf@ucl.ac.uk> (Eric Fraga's message of "Fri, 24 Jan 2020 06:50:23 +0000")

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
hello,
thank you for this answer.
it works!
but if i want to search for messages with a from: query, the results
contains messages in which the from: address appears inside the to:
also.
e.g.: from: zz@hotmail.de
then the query contains messages with to: zz@hotmail.de.

this phenomene appears also inside a query, which i start inside notmuch-mode.
perhaps there is a configuration option to show ONLY from: inside a
query with from:

any ideas?
Regards
Poul

> 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

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2020-01-24 16:39 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
2020-01-24 16:39   ` physiculus [this message]
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=87sgk4x0zk.fsf@googlemail.com \
    --to=physiculus@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=info-gnus-english@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.
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).