unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Jörg Volbers" <joerg@joergvolbers.de>
To: notmuch@notmuchmail.org
Subject: Re: notmuch search does not work with search term 'id:'
Date: Sat, 12 Aug 2017 18:35:34 +0200	[thread overview]
Message-ID: <874ltc4ucp.fsf@joergvolbers.de> (raw)
In-Reply-To: <87fucxri68.fsf@tethera.net>

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

That was helpful! The output is:

Query(((Tmail AND 0 * 
QE5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com) 
AND_NOT (Kdeleted OR Kspam)))

Actually my config has "search.exclude_tags=deleted;spam" set, and 
the mail IS a spam mail. (I wanted to train bogofilter).

Did not know that such an exclusion occurs. Makes sense, though.

Adding --exclude=false to the search makes it behave well.

Thanks for the help!



David Bremner <david@tethera.net> writes:

> Jörg Volbers <joerg@joergvolbers.de> writes: 
>  
>> This is the ID which I am using for testing: 
>> 
>> E5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com 
>> 
> Can you try 
> 
> NOTMUCH_DEBUG_QUERY=y notmuch search 
> id:E5-a1wt6bgr-elaine/2/42589-dc960dd3@nlsender05.ui-portal.com 
> 
> and report the output after "Final query is:" 
> 
> d 

-- 
http://www.joergvolbers.de
https://fu-berlin.academia.edu/jvolbers

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2017-08-12 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11  9:31 notmuch search does not work with search term 'id:' Jörg Volbers
2017-08-11 10:09 ` Tomi Ollila
2017-08-11 10:23   ` Jörg Volbers
2017-08-11 19:57     ` David Bremner
2017-08-12 16:35       ` Jörg Volbers [this message]

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=874ltc4ucp.fsf@joergvolbers.de \
    --to=joerg@joergvolbers.de \
    --cc=notmuch@notmuchmail.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).