Re: search misses some targets

Subject: Re: search misses some targets

Date: Thu, 05 Oct 2017 08:34:19 -0300

To: Jean-Francois Moulin, notmuch@notmuchmail.org

Cc: Stefano Zacchiroli

From: David Bremner


Jean-Francois Moulin <jean-francois.moulin@hzg.de> writes:


> Looking for examples I could share, I searched for Spam Quarantaine
> notifications **using notmuch-mutt**
>     (The binding I use for the search in mutt is the following (copied
> from https://notmuchmail.org/notmuch-mutt/)
> macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p
> 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i
> \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head
> -n 600 | perl -le '@a=<>;chomp@a;s/\^id://
> for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a
> notmuch pattern")
>
>
> The notmuch search did not find any message!
>
> This same macro executed with "Spam" as argument finds a few messages
> containing the word spam but none having it in the from field
>
> Repeating the searches with plain notmuch from the command line found
> all of the messages!
> So it is probable that my mutt configuration somehow has a problem. Once
> this is fixed I'll search again for thoses cases where some messages are
> found but not all of them.

I have put the author of notmuch-mutt in copy in case he has some
ideas. One other thing worth mentioning is that neomutt supports notmuch
virtual folders directly, and is available along side (or in place of)
"mutt classic" in several linux distros.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: