[PATCH 0/5] Move --no-exclude to --exclude=(true|false|flag)
authorMark Walters <markwalters1009@gmail.com>
Thu, 15 Mar 2012 18:42:00 +0000 (18:42 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:31 +0000 (09:45 -0800)
7b/1be2ab4215dffb47dfce606532a17bac1cda7f [new file with mode: 0644]

diff --git a/7b/1be2ab4215dffb47dfce606532a17bac1cda7f b/7b/1be2ab4215dffb47dfce606532a17bac1cda7f
new file mode 100644 (file)
index 0000000..63a3d6a
--- /dev/null
@@ -0,0 +1,111 @@
+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 522F4431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42: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 4+WskcPbZRLs for <notmuch@notmuchmail.org>;\r
+       Thu, 15 Mar 2012 11:42:10 -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 97F62431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42:10 -0700 (PDT)\r
+Received: by werm13 with SMTP id m13so3528469wer.26\r
+       for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42:09 -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=nq4KjqC/VpNEL4SsZfUDNb7FY6BcAltkUaiBlMsEw40=;\r
+       b=c5yGuc1+yHV3/BJ8tz9tWHqDgKK028Gi6Z0QjdGpD4xaucFkxLEJDXmVG92X7UhUzM\r
+       8/dYMD1Oi1ekqWrnowRk7py+QxKR9JqIKEbgPUTYyuOchshUVM8g8aRT7vFTZJwQRHU/\r
+       hUCWL6gLENZaQ60bahGKsI1AWk6oY1kYgBTqblcwF4brS2e0ZD4bauqw3+Pn7FMrZ36W\r
+       CregJBQNHXCBQv0cv6z5ICYde9epFWIvRqNIkR9DhCvuA78c3InwyNDuwf8mfIK89jGB\r
+       ECNRKQMaOhTJxrlQlLYbS0SOyH8mgGQOBZl1vH8V2RkuDfvDpyaRg/LBHt1vWCpfRaxS\r
+       dMiQ==\r
+Received: by 10.216.131.98 with SMTP id l76mr4587794wei.62.1331836929243;\r
+       Thu, 15 Mar 2012 11:42:09 -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
+ fi4sm7056842wib.4.2012.03.15.11.42.07 (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 15 Mar 2012 11:42:08 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/5] Move --no-exclude to --exclude=(true|false|flag)\r
+Date: Thu, 15 Mar 2012 18:42:00 +0000\r
+Message-Id: <1331836925-31437-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: Thu, 15 Mar 2012 18:42:11 -0000\r
+\r
+This series changes the --no-exclude options to count, search and show\r
+to --exclude=(true|false|flag). It also changes the default to true\r
+rather than flag for speed and for uncluttered command line output.\r
+\r
+This series replaces the series\r
+id:"1330779918-28024-1-git-send-email-markwalters1009@gmail.com". Jani\r
+suggested the --exclude= rather than --with-excluded approach as being\r
+both clearer and easier to extend.\r
+\r
+It is intend to apply on top of the bugfix series\r
+id:"1331728014-32698-1-git-send-email-markwalters1009@gmail.com".\r
+\r
+There should be no significant logic change (i.e. the logic in the lib\r
+is unchanged) but the defaults for the command lines are different.\r
+\r
+The general idea is that when complete threads are requested then we\r
+always return complete threads including any messages matching the\r
+exclude tags (where appropriate these are flagged excluded), but we\r
+may not return threads that only match in excluded messages.\r
+\r
+The rationale is that it is awkward to deal with a thread with\r
+"missing" messages.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+Mark Walters (5):\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
+  emacs: make show set --exclude=flag\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            |   39 +++++++++++++++++++++++++++++----------\r
+ test/count                |    4 ++--\r
+ test/search               |   13 ++++++-------\r
+ 12 files changed, 114 insertions(+), 52 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r