--- /dev/null
+Return-Path: <jeremy@nickurak.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id B4B49431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Feb 2012 22:51:20 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id ePdYzCvcgugm for <notmuch@notmuchmail.org>;\r
+ Fri, 10 Feb 2012 22:51:20 -0800 (PST)\r
+Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com\r
+ [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 1038A431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Feb 2012 22:51:20 -0800 (PST)\r
+Received: by vbbfc21 with SMTP id fc21so2773437vbb.26\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Feb 2012 22:51:19 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=nickurak.ca; s=google-dkim;\r
+ h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
+ :x-google-sender-auth:message-id:subject:from:to:content-type\r
+ :content-transfer-encoding;\r
+ bh=F9plBbjNkq9aFAwOnOaqz4s0FkIbOLjqSU5eTM7Hl7g=;\r
+ b=XK9vxEOfCvwYMI/u6cog5aOyV0Faipw6Odx5cdiQKaNR35r7DM8Mo4lCd2bN9IXveK\r
+ oxLaRLsc0fyBwNlMcF3ve244F0LGtWU611LLcLW8d/f5bG1/xehpLow3j5ri5D8IL1AL\r
+ H4I6zcXXxfqNsp20QZguJey3bFUQrg6yc1lrQ=\r
+MIME-Version: 1.0\r
+Received: by 10.220.38.132 with SMTP id b4mr4961833vce.72.1328943076549; Fri,\r
+ 10 Feb 2012 22:51:16 -0800 (PST)\r
+Sender: jeremy@nickurak.ca\r
+Received: by 10.220.176.68 with HTTP; Fri, 10 Feb 2012 22:51:16 -0800 (PST)\r
+X-Originating-IP: [68.148.28.35]\r
+In-Reply-To:\r
+ <CADEZsr4WZhH2XiQxj6vdjLQJ4LELFAt9HfsR4rZPHjH8tE8vrw@mail.gmail.com>\r
+References:\r
+ <CADEZsr4WZhH2XiQxj6vdjLQJ4LELFAt9HfsR4rZPHjH8tE8vrw@mail.gmail.com>\r
+Date: Fri, 10 Feb 2012 23:51:16 -0700\r
+X-Google-Sender-Auth: vvwopbz7Cy4JwzlFE0tQ0d-Hwwo\r
+Message-ID:\r
+ <CA+eQo_1p-zOT1-1724HjrbrkLsAyznGOapM0nvCW_hrQiOsTBQ@mail.gmail.com>\r
+Subject: Re: unexpected behavior for search\r
+From: Jeremy Nickurak <not-much@trk.nickurak.ca>\r
+To: notmuch@notmuchmail.org\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-Gm-Message-State:\r
+ ALoCoQlpTt+eyeSuIhhOCxzceXR1T2FjQ7SzKkqZqwaLgBT7ve2YG4oiHAFQc12lZwYinUcGcv86\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 11 Feb 2012 06:51:20 -0000\r
+\r
+What you'll probably find is that, of the messages in those threads,\r
+some match tag:inbox, and some match tag:unread, but none match both.\r
+Notmuch's search returns threads that have matching messages, not\r
+matching threads.\r
+\r
+On Fri, Feb 10, 2012 at 23:37, Bhaskara Marthi <bhaskara@gmail.com> wrote:\r
+> Either I have the search syntax wrong or there's a bug somewhere.=C2=A0 I=\r
+s this\r
+> not how to combine multiple tags?=C2=A0 The output of the first invocatio=\r
+n shows\r
+> that there exist threads tagged both inbox and unread, but the second\r
+> invocation does not find them.\r
+> - Bhaskara\r
+>\r
+> $ notmuch search $(date +%s -d 2012-02-09)..$(date +%s) tag:inbox | grep\r
+> unread\r
+> thread:000000000000ff28=C2=A0 Today 12:41 [3/4] Mac Mason, Bhaskara Marth=\r
+i; I'm\r
+> getting a build failure (inbox unread)\r
+> thread:000000000000ec68=C2=A0 Yest. 09:32 [1/6] Gon=C3=A7alo Cabrita| Ken=\r
+ Conley;\r
+> [ros-users] serial_communication release (inbox unread)\r
+> $ notmuch search tag:inbox and tag:unread\r
+> $\r
+>\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+>\r