Usage of tag:replied

Jani Nikula jani at nikula.org
Tue May 27 23:12:40 PDT 2014


On Wed, 28 May 2014, Wael Nasreddine <wael.nasreddine at 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.


More information about the notmuch mailing list