[PATCH 0/8] search --exclude=all
authorPeter Wang <novalazy@gmail.com>
Wed, 20 Jun 2012 13:28:59 +0000 (23:28 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:44 +0000 (09:47 -0800)
22/50891535b49aaa2c7124e50f70a77ff1774b16 [new file with mode: 0644]

diff --git a/22/50891535b49aaa2c7124e50f70a77ff1774b16 b/22/50891535b49aaa2c7124e50f70a77ff1774b16
new file mode 100644 (file)
index 0000000..27b179a
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <novalazy@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 625B7431FBF\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jun 2012 06:29:22 -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 xSTjcefmdr97 for <notmuch@notmuchmail.org>;\r
+       Wed, 20 Jun 2012 06:29:21 -0700 (PDT)\r
+Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
+       [209.85.160.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id B378A431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jun 2012 06:29:21 -0700 (PDT)\r
+Received: by pbbrr13 with SMTP id rr13so756176pbb.26\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jun 2012 06:29:19 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=VB66Pe4pRttl+jw30bg+JM02k09hV5xCKqrl+ZpN2rU=;\r
+       b=GucWJcEJhlId6QViv6Ekq7rpOpx13bLGcWHDNEYqVgxlrSAmy/B+psZ6TLipAcIim1\r
+       nRp/+7br+5/NfXn5Mn3JSryLR/DMnbVGo9R7T1DQ5a097npYsar4gSbGGX1ZDTv7AT98\r
+       8Q2G2e7x5lovabVJW2EaiCMuUOv6cod0RFWnBVkVjUlCZWi7ewQBHv9oqaaNuRvChj0X\r
+       hDoOEHuayQZb0lN+HVtcO09P3dLRkoBY+FuRKsR6B+5e/GEgruD2537E+GU2OsfmbQDh\r
+       JGetoKoxM68VVI1v5utyB5UWLLHMB14AB2QDds9EIoN6+gTwB2tbc3kWRdWML/mGjK+h\r
+       8eIg==\r
+Received: by 10.68.213.234 with SMTP id nv10mr76278202pbc.56.1340198959839;\r
+       Wed, 20 Jun 2012 06:29:19 -0700 (PDT)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id qm6sm31949177pbc.10.2012.06.20.06.29.17\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 20 Jun 2012 06:29:18 -0700 (PDT)\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/8] search --exclude=all\r
+Date: Wed, 20 Jun 2012 23:28:59 +1000\r
+Message-Id: <1340198947-29370-1-git-send-email-novalazy@gmail.com>\r
+X-Mailer: git-send-email 1.7.4.4\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: Wed, 20 Jun 2012 13:29:22 -0000\r
+\r
+Hi,\r
+\r
+This is Mark's change to add search --exclude=all.\r
+I mainly just updated a comment and added some documentation.\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 |   28 ++++++++++++++++++++++------\r
+ notmuch-search.c          |   24 +++++++++---------------\r
+ test/excludes             |   22 ++++++++++++++++++++++\r
+ 7 files changed, 109 insertions(+), 44 deletions(-)\r
+\r
+-- \r
+1.7.4.4\r
+\r