Re: Usage of tag:replied

Subject: Re: Usage of tag:replied

Date: Wed, 28 May 2014 09:12:40 +0300

To: Wael Nasreddine, notmuch

Cc:

From: Jani Nikula


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.

Thread: