[PATCH v2 0/6] Move --no-exclude to --exclude=(true|false|flag)
authorMark Walters <markwalters1009@gmail.com>
Sat, 31 Mar 2012 22:53:56 +0000 (23:53 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:55 +0000 (09:45 -0800)
4b/e4ba498d553b99ee34598f005f654807c0409b [new file with mode: 0644]

diff --git a/4b/e4ba498d553b99ee34598f005f654807c0409b b/4b/e4ba498d553b99ee34598f005f654807c0409b
new file mode 100644 (file)
index 0000000..5186016
--- /dev/null
@@ -0,0 +1,106 @@
+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 B4AA3431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 31 Mar 2012 15:54:11 -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 ABTuG0bsqROZ for <notmuch@notmuchmail.org>;\r
+       Sat, 31 Mar 2012 15:54:11 -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 F359C431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 31 Mar 2012 15:54:10 -0700 (PDT)\r
+Received: by werm13 with SMTP id m13so1257125wer.26\r
+       for <notmuch@notmuchmail.org>; Sat, 31 Mar 2012 15:54:08 -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=s6XgnjQLIRCXpyJLE9hX65Bm0MeflGa3g5fDphXUHxY=;\r
+       b=Efp0VUKM2NaTA0ZFJ9axbfytthn9tAVmI14wJv6/FAxexUh0W9UXigEeTK4rQ651vO\r
+       ju35CzkclvY8jAqvTGLy0ORuwWqe+23gFirpUgi9nSS/xjQt/4OS5DNoG6MEqk1KccMz\r
+       nFZcigHM1KoWAdYG443/o+brJBkwRCzFnExShlRAiMXQLEiI2AUa2EdwNYORLFu/c1nk\r
+       xKN9KOEZtew5Q7Uz28HRTCqRtiVWCBWa0yiiRpP/LCZ1Ymmvf1IpAcy/xgVUABFMXVmk\r
+       1Z+ohksVv9JKn6p/yREdC0MjMW00pfrzm/nZ7xds6yMmJeVBoIfmdIOUVMo4mi6m4doP\r
+       Qnfg==\r
+Received: by 10.180.80.104 with SMTP id q8mr9898808wix.14.1333234448274;\r
+       Sat, 31 Mar 2012 15:54:08 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ fn2sm31923667wib.0.2012.03.31.15.54.06        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 31 Mar 2012 15:54:07 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/6] Move --no-exclude to --exclude=(true|false|flag)\r
+Date: Sat, 31 Mar 2012 23:53:56 +0100\r
+Message-Id: <1333234442-28616-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, 31 Mar 2012 22:54:11 -0000\r
+\r
+This is version 2 of the exclude= series (version 1 is [1]).\r
+\r
+The main changes are the addition of some systematic notmuch-search\r
+tests for all the exclude options, and I no longer add the\r
+exclude=flag option to notmuch-show.c (the output was too similar to\r
+exclude=false to be worth keeping).\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+id:"1331836925-31437-1-git-send-email-markwalters1009@gmail.com".\r
+\r
+\r
+\r
+\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
+  test: add some exclude tests\r
+  cli: move show to the new --exclude= option naming scheme.\r
+  emacs: make show set --exclude=false\r
+\r
+ emacs/notmuch-show.el     |    6 +-\r
+ lib/notmuch.h             |   11 ++-\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                |    4 +-\r
+ test/notmuch-test         |    1 +\r
+ test/search               |   48 ----------\r
+ test/search-excludes      |  214 +++++++++++++++++++++++++++++++++++++++++++++\r
+ 14 files changed, 325 insertions(+), 102 deletions(-)\r
+ create mode 100755 test/search-excludes\r
+\r
+-- \r
+1.7.9.1\r
+\r