--- /dev/null
+Return-Path: <wael.nasreddine@gmail.com>\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 1D2CF431FBC\r
+ for <notmuch@notmuchmail.org>; Fri, 16 May 2014 10:12:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 mcGdE+3I6gHb for <notmuch@notmuchmail.org>;\r
+ Fri, 16 May 2014 10:12:27 -0700 (PDT)\r
+Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com\r
+ [209.85.220.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 4F8AB431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 16 May 2014 10:12:27 -0700 (PDT)\r
+Received: by mail-pa0-f45.google.com with SMTP id ey11so2804728pad.32\r
+ for <notmuch@notmuchmail.org>; Fri, 16 May 2014 10:12:26 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:user-agent:date:message-id:mime-version\r
+ :content-type; bh=5FS0rjMqmqhcW31fOnKGwIFydkPPOHH+oyJyEMsxnbY=;\r
+ b=pZ4LLihIOruOvCN0LQG21VPHcywOD/Jvc2Qp1C7E5rSJccfqVORLRX3r5B9pyfnG5X\r
+ igtvqLvOhu9MyZSbWJNGvTc4Q0L3Rjf6W4/rlVo8dnVVs+fCicwLkfVFfnh+/JMSX7va\r
+ hhG9w8ZAPULZy9nnJYdwKiJy14y3J7qocPsuGLrs1Es6SqzFL2wZKLMEw/8eIHLFmU9s\r
+ m4AW/GoOYforGe4ths4kjMj2xTuPa1ali+HO+We9P2RJD+CyCVenrkRz14ggTob/6U3F\r
+ ebLVKKi5L2mVBEDOv9QypInHCw9NZ+4Dey4TQevF3bS2LKdbQYyq9J3HbJw8yWXT+wld\r
+ gQkA==\r
+X-Received: by 10.66.251.136 with SMTP id zk8mr22593361pac.137.1400260346437; \r
+ Fri, 16 May 2014 10:12:26 -0700 (PDT)\r
+Received: from localhost ([2620:0:1000:2e00:956:5e9b:52f6:3e9e])\r
+ by mx.google.com with ESMTPSA id\r
+ qq5sm15534504pbb.24.2014.05.16.10.12.24 for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Fri, 16 May 2014 10:12:24 -0700 (PDT)\r
+From: Wael Nasreddine <wael.nasreddine@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: exclude tags\r
+User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 16 May 2014 10:12:18 -0700\r
+Message-ID: <w52c61l5abrh.fsf@gaea.mtv.corp.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/mixed; boundary="=-=-="\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: Fri, 16 May 2014 17:12:31 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+\r
+Hey guys,\r
+\r
+I am trying to exclude any thread that has the tag *killed* but it's\r
+either a bug or something that I am simply doing wrong.\r
+\r
+ $ notmuch search tag:work and tag:unread and tag:inbox and not tag:killed | grep 'killed' | wc -l\r
+ 1\r
+\r
+I am getting the same result with Trusty shipped notmuch v0.17 and with\r
+today's build.\r
+\r
+Wael\r
+\r
+\r
+--=-=-=\r
+Content-Type: multipart/signed; boundary="==-=-=";\r
+ micalg=pgp-sha1; protocol="application/pgp-signature"\r
+\r
+--==-=-=\r
+Content-Type: text/plain\r
+\r
+--\r
+Wael Nasreddine | SRE at Google | wael.nasreddine@gmail.com | (650) 735-1773\r
+\r
+--==-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iEYEARECAAYFAlN2RvMACgkQVWU5RcjdGKIzmgCg/c5jaifPtFK4/iFqVDZEKjyb\r
+6iYAnRZdddfxQcNBGm4eV7aUV/SCFVVZ\r
+=65oW\r
+-----END PGP SIGNATURE-----\r
+--==-=-=--\r
+\r
+--=-=-=--\r