unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Wael Nasreddine <wael.nasreddine@gmail.com>,
	notmuch <notmuch@notmuchmail.org>
Subject: Re: Usage of tag:replied
Date: Wed, 28 May 2014 09:12:40 +0300	[thread overview]
Message-ID: <87ha4aig87.fsf@nikula.org> (raw)
In-Reply-To: <w52ctx8aqw8s.fsf@gaea.mtv.corp.google.com>

On Wed, 28 May 2014, Wael Nasreddine <wael.nasreddine@gmail.com> wrote:
> I'm trying to take advantage of the tag:replied to give higher priority
> to emails sent to very busy lists but it seems that it's not returning
> the results that I am expecting.
>
>   $ notmuch search tag:unread AND from:lydia
>   thread:000000000001a791  Today 17:20 [1/10] Lydia | Wael Nasreddine; ... (inbox replied unread work)
>   $ notmuch search tag:unread AND tag:replied
>
> As you can see in the snippet above, I do have an email that has both
> tags *unread* and *replied* but when I query for both, it does not
> find that email (it does not find anything for that matters).
>
> What am I doing wrong?

Notmuch searches are message based. You don't have messages that have
both unread and replied tags. The default output for notmuch search is
thread summary, which includes combined tags of all messages in that
thread. You have unread and replied in different messages in the same
thread.

BR,
Jani.

  reply	other threads:[~2014-05-28  6:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28  5:59 Usage of tag:replied Wael Nasreddine
2014-05-28  6:12 ` Jani Nikula [this message]
2014-05-28 19:34   ` Wael Nasreddine
2014-05-30  7:56     ` Jani Nikula

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=87ha4aig87.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    --cc=wael.nasreddine@gmail.com \
    /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).