unexpected behavior for search

Jeremy Nickurak not-much at trk.nickurak.ca
Fri Feb 10 22:51:16 PST 2012


What you'll probably find is that, of the messages in those threads,
some match tag:inbox, and some match tag:unread, but none match both.
Notmuch's search returns threads that have matching messages, not
matching threads.

On Fri, Feb 10, 2012 at 23:37, Bhaskara Marthi <bhaskara at gmail.com> wrote:
> Either I have the search syntax wrong or there's a bug somewhere.  Is this
> not how to combine multiple tags?  The output of the first invocation shows
> that there exist threads tagged both inbox and unread, but the second
> invocation does not find them.
> - Bhaskara
>
> $ notmuch search $(date +%s -d 2012-02-09)..$(date +%s) tag:inbox | grep
> unread
> thread:000000000000ff28  Today 12:41 [3/4] Mac Mason, Bhaskara Marthi; I'm
> getting a build failure (inbox unread)
> thread:000000000000ec68  Yest. 09:32 [1/6] Gonçalo Cabrita| Ken Conley;
> [ros-users] serial_communication release (inbox unread)
> $ notmuch search tag:inbox and tag:unread
> $
>
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
>


More information about the notmuch mailing list