From afc4b1bca42c9e66318334f687e4e042affb31c1 Mon Sep 17 00:00:00 2001 From: Jeremy Nickurak Date: Sat, 11 Feb 2012 23:51:16 +1700 Subject: [PATCH] Re: unexpected behavior for search --- 97/34c487afd7db942db1d772cee1d145828f93a4 | 99 +++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 97/34c487afd7db942db1d772cee1d145828f93a4 diff --git a/97/34c487afd7db942db1d772cee1d145828f93a4 b/97/34c487afd7db942db1d772cee1d145828f93a4 new file mode 100644 index 000000000..36f3d75cc --- /dev/null +++ b/97/34c487afd7db942db1d772cee1d145828f93a4 @@ -0,0 +1,99 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id B4B49431FB6 + for ; Fri, 10 Feb 2012 22:51:20 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ePdYzCvcgugm for ; + Fri, 10 Feb 2012 22:51:20 -0800 (PST) +Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com + [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1038A431FAE + for ; Fri, 10 Feb 2012 22:51:20 -0800 (PST) +Received: by vbbfc21 with SMTP id fc21so2773437vbb.26 + for ; Fri, 10 Feb 2012 22:51:19 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nickurak.ca; s=google-dkim; + h=mime-version:sender:x-originating-ip:in-reply-to:references:date + :x-google-sender-auth:message-id:subject:from:to:content-type + :content-transfer-encoding; + bh=F9plBbjNkq9aFAwOnOaqz4s0FkIbOLjqSU5eTM7Hl7g=; + b=XK9vxEOfCvwYMI/u6cog5aOyV0Faipw6Odx5cdiQKaNR35r7DM8Mo4lCd2bN9IXveK + oxLaRLsc0fyBwNlMcF3ve244F0LGtWU611LLcLW8d/f5bG1/xehpLow3j5ri5D8IL1AL + H4I6zcXXxfqNsp20QZguJey3bFUQrg6yc1lrQ= +MIME-Version: 1.0 +Received: by 10.220.38.132 with SMTP id b4mr4961833vce.72.1328943076549; Fri, + 10 Feb 2012 22:51:16 -0800 (PST) +Sender: jeremy@nickurak.ca +Received: by 10.220.176.68 with HTTP; Fri, 10 Feb 2012 22:51:16 -0800 (PST) +X-Originating-IP: [68.148.28.35] +In-Reply-To: + +References: + +Date: Fri, 10 Feb 2012 23:51:16 -0700 +X-Google-Sender-Auth: vvwopbz7Cy4JwzlFE0tQ0d-Hwwo +Message-ID: + +Subject: Re: unexpected behavior for search +From: Jeremy Nickurak +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable +X-Gm-Message-State: + ALoCoQlpTt+eyeSuIhhOCxzceXR1T2FjQ7SzKkqZqwaLgBT7ve2YG4oiHAFQc12lZwYinUcGcv86 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 11 Feb 2012 06:51:20 -0000 + +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 wrote: +> Either I have the search syntax wrong or there's a bug somewhere.=C2=A0 I= +s this +> not how to combine multiple tags?=C2=A0 The output of the first invocatio= +n 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=C2=A0 Today 12:41 [3/4] Mac Mason, Bhaskara Marth= +i; I'm +> getting a build failure (inbox unread) +> thread:000000000000ec68=C2=A0 Yest. 09:32 [1/6] Gon=C3=A7alo Cabrita| Ken= + Conley; +> [ros-users] serial_communication release (inbox unread) +> $ notmuch search tag:inbox and tag:unread +> $ +> +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch +> -- 2.26.2