--- /dev/null
+Return-Path: <markwalters1009@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 1F561431FBF\r
+ for <notmuch@notmuchmail.org>; Sat, 11 May 2013 12:50:23 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+ FREEMAIL_REPLY=2.499, 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 LD1hRRR+V-aZ for <notmuch@notmuchmail.org>;\r
+ Sat, 11 May 2013 12:50:18 -0700 (PDT)\r
+Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com\r
+ [74.125.82.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 8C3A1431FAE for <notmuch@notmuchmail.org>; Sat, 11 May 2013 12:50:18 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f48.google.com with SMTP id f11so4957612wgh.3\r
+ for <notmuch@notmuchmail.org>; Sat, 11 May 2013 12:50:16 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=x-received:from:to:cc:subject:date:message-id:x-mailer;\r
+ bh=6jjqbtJ+296YOEra8fjHYUn+Ee4LxMUyJMINR8o90qc=;\r
+ b=Rtxak4vU4+xP0ArEJPuzbRixoyecdAJnqYbdaeA6iqalQTX+HT0vdciik3EKmcgVwj\r
+ SdXlKhuykgCgDdB7jbX7nN091OWZkTGhDI1Xji/ltOdP7NqhuEkKIUi2PZ32TTU2+Plk\r
+ 7gbYcjjKbDzGDlISaahf0/vDHCcM9lzllfFkJvzGJCY3gylVulCtNI2gDfQgPj5or53p\r
+ Uo2N6C4TKTkJK5Zq3TGHNuy2iVwh3W5UVzVloAnxEMkiGUe0wrqqA5rEoMtmGjkuUQ3r\r
+ JsanFPIGIj6hUdtdFN6MHKJBxq+h/Fa9HdxKkIkZ0DJYmPloAIYXyMLkDlnaZD9zis3A\r
+ qWjg==\r
+X-Received: by 10.180.210.225 with SMTP id mx1mr10426834wic.15.1368301816075; \r
+ Sat, 11 May 2013 12:50:16 -0700 (PDT)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+ by mx.google.com with ESMTPSA id i4sm5617238wix.10.2013.05.11.12.50.14\r
+ for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sat, 11 May 2013 12:50:15 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/8] search --exclude=all\r
+Date: Sat, 11 May 2013 20:50:01 +0100\r
+Message-Id: <1368301809-12532-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\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 May 2013 19:50:23 -0000\r
+\r
+This is a rebased version of\r
+id:1340198947-29370-1-git-send-email-novalazy@gmail.com I have not\r
+tested it significantly in this form but the rebasing looks ok and all\r
+the tests pass.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+\r
+Mark Walters (2):\r
+ lib: add --exclude=all option\r
+ cli: add --exclude=all option to notmuch-search.c\r
+\r
+Peter Wang (6):\r
+ test: add tests for search --exclude=all\r
+ man: clarify search --exclude documentation\r
+ man: clarify search --exclude=flag\r
+ man: document search --exclude=all\r
+ lib: add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t\r
+ cli: use notmuch_exclude_t in option parser\r
+\r
+ lib/notmuch-private.h | 1 +\r
+ lib/notmuch.h | 23 ++++++++++++++++-------\r
+ lib/query.cc | 14 +++++++++-----\r
+ lib/thread.cc | 41 ++++++++++++++++++++++++++++++-----------\r
+ man/man1/notmuch-search.1 | 29 +++++++++++++++++++++++------\r
+ notmuch-search.c | 24 +++++++++---------------\r
+ test/excludes | 22 ++++++++++++++++++++++\r
+ 7 files changed, 110 insertions(+), 44 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r