unexpected behavior for search

classic Classic list List threaded Threaded
2 messages Options
Bhaskara Marthi-2 Bhaskara Marthi-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

unexpected behavior for search

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
[hidden email]
http://notmuchmail.org/mailman/listinfo/notmuch
Jeremy Nickurak Jeremy Nickurak
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unexpected behavior for search

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 <[hidden email]> 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
> [hidden email]
> http://notmuchmail.org/mailman/listinfo/notmuch
>
_______________________________________________
notmuch mailing list
[hidden email]
http://notmuchmail.org/mailman/listinfo/notmuch
Loading...