search misses some targets
David Bremner
david at tethera.net
Thu Oct 5 04:34:19 PDT 2017
Jean-Francois Moulin <jean-francois.moulin at 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 at a;s/\^id://
> for at a;$,=\"|\";print at 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
More information about the notmuch
mailing list