[PATCH v4 0/6] Move --no-exclude to --exclude=(true|false|flag)
authorMark Walters <markwalters1009@gmail.com>
Sat, 7 Apr 2012 16:10:02 +0000 (17:10 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:06 +0000 (09:46 -0800)
c7/6a5f1d7abd6d50cbc249236a672ca072121cb7 [new file with mode: 0644]

diff --git a/c7/6a5f1d7abd6d50cbc249236a672ca072121cb7 b/c7/6a5f1d7abd6d50cbc249236a672ca072121cb7
new file mode 100644 (file)
index 0000000..60be5ba
--- /dev/null
@@ -0,0 +1,101 @@
+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 8A158431FAF\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 09:10:07 -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 7b5+MpbHbSLF for <notmuch@notmuchmail.org>;\r
+       Sat,  7 Apr 2012 09:10:06 -0700 (PDT)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id B1F16431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 09:10:06 -0700 (PDT)\r
+Received: by werm13 with SMTP id m13so2289308wer.26\r
+       for <notmuch@notmuchmail.org>; Sat, 07 Apr 2012 09:10:05 -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=kgTtL8cgDMNxq/plClpmQy+Sonyi/AKoU2hTpE6f6tc=;\r
+       b=iUeE+qQC1aRY2ZBB/tpW3o6F80+fOlMLB1f32eJCEdyDNpjhI7ePjGE6iPz1youfmy\r
+       nHSKA/0bj1fgJBYAHMEqOr4DmylQXZub8R29eLRHksKvBnWn6hu/52EpUpHbTd3iZQYA\r
+       CQ4AizjEntJoxK06jTBv5tdpXmDupKxP7P5vmTzpcyYW1rSiEUd7tLIbHycnYHnX3C4H\r
+       1CbVt+Q1nKmWGytkfEgD8m3kYxLcB09bB3f2MDhbElIphNzif94oOv1tsR2mvPAGFogF\r
+       GWqNFNQlCZuXGkgxB9wq2A/64chIyNtgetC5i4IL7z4W3z2QUBJvnD+A8WcpcnpBOI2g\r
+       sjGQ==\r
+Received: by 10.180.82.136 with SMTP id i8mr3842265wiy.19.1333815005317;\r
+       Sat, 07 Apr 2012 09:10:05 -0700 (PDT)\r
+Received: from localhost (94.197.17.51.threembb.co.uk. [94.197.17.51])\r
+       by mx.google.com with ESMTPS id j3sm25374010wiw.1.2012.04.07.09.10.02\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 07 Apr 2012 09:10:04 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v4 0/6] Move --no-exclude to --exclude=(true|false|flag)\r
+Date: Sat,  7 Apr 2012 17:10:02 +0100\r
+Message-Id: <1333815008-24668-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, 07 Apr 2012 16:10:07 -0000\r
+\r
+This is version 4 of the exclude= patch set. Version 3 was at [1].\r
+\r
+The only changes relative to version 3 are in the tests. As suggested\r
+by jrollins [2] I have added some systematic count and show tests and\r
+moved all the exclude tests to the file test/excludes.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+[1] id:"1333716551-29153-1-git-send-email-markwalters1009@gmail.com"\r
+[2] id:"877gxs7ryv.fsf@servo.finestructure.net"\r
+\r
+Mark Walters (6):\r
+  lib: change default for notmuch_query_set_omit_excluded\r
+  cli: move count to the new --exclude=(true|false|flag) naming scheme.\r
+  cli: move search to the new --exclude= naming scheme.\r
+  cli: move show to the new --exclude= option naming scheme.\r
+  test: add some exclude tests\r
+  emacs: make show set --exclude=false\r
+\r
+ emacs/notmuch-show.el     |    6 +-\r
+ lib/notmuch.h             |   23 ++-\r
+ lib/query.cc              |   10 +-\r
+ man/man1/notmuch-count.1  |    5 +-\r
+ man/man1/notmuch-search.1 |   12 +-\r
+ man/man1/notmuch-show.1   |   16 ++-\r
+ notmuch-client.h          |    1 +\r
+ notmuch-count.c           |   17 ++-\r
+ notmuch-search.c          |   32 +++-\r
+ notmuch-show.c            |   50 ++++--\r
+ test/count                |   21 ---\r
+ test/excludes             |  423 +++++++++++++++++++++++++++++++++++++++++++++\r
+ test/notmuch-test         |    1 +\r
+ test/search               |   48 -----\r
+ 14 files changed, 544 insertions(+), 121 deletions(-)\r
+ create mode 100755 test/excludes\r
+\r
+-- \r
+1.7.9.1\r
+\r