unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Jean-Francois Moulin <jean-francois.moulin@hzg.de>,
	notmuch@notmuchmail.org
Cc: Stefano Zacchiroli <zack@debian.org>
Subject: Re: search misses some targets
Date: Thu, 05 Oct 2017 08:34:19 -0300	[thread overview]
Message-ID: <87a81525hg.fsf@tethera.net> (raw)
In-Reply-To: <55dd469f-585e-e5e5-6b09-a3f096205262@hzg.de>

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

  reply	other threads:[~2017-10-05 11:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 17:17 search misses some targets Jean-Francois Moulin
2017-09-27 22:46 ` David Bremner
2017-09-28 19:02   ` Jean-Francois Moulin
2017-09-29 11:34     ` David Bremner
2017-10-02 19:33       ` Jean-Francois Moulin
2017-10-05 11:34         ` David Bremner [this message]
2017-10-05 19:31           ` Stefano Zacchiroli

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a81525hg.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=jean-francois.moulin@hzg.de \
    --cc=notmuch@notmuchmail.org \
    --cc=zack@debian.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).