Re: [PATCH 0/5] Move --no-exclude to --exclude=(true|false|flag)
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 17 Mar 2012 06:02:30 +0000 (23:02 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:33 +0000 (09:45 -0800)
87/2b85d835db887c4292674dd27129d0df999ccc [new file with mode: 0644]

diff --git a/87/2b85d835db887c4292674dd27129d0df999ccc b/87/2b85d835db887c4292674dd27129d0df999ccc
new file mode 100644 (file)
index 0000000..95c2e95
--- /dev/null
@@ -0,0 +1,121 @@
+Return-Path: <jrollins@finestructure.net>\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 3AAD7431FD0\r
+       for <notmuch@notmuchmail.org>; Fri, 16 Mar 2012 23:02:44 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 5FZy7sdAj+Ui for <notmuch@notmuchmail.org>;\r
+       Fri, 16 Mar 2012 23:02:42 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0A041431FC0\r
+       for <notmuch@notmuchmail.org>; Fri, 16 Mar 2012 23:02:40 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 94E1C2E50E52;\r
+       Fri, 16 Mar 2012 23:02:39 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-74-66-81-190.nyc.res.rr.com\r
+       [74.66.81.190]) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id F1D3B2E50E63;\r
+       Fri, 16 Mar 2012 23:02:33 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 0A5494A8; Fri, 16 Mar 2012 23:02:31 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 0/5] Move --no-exclude to --exclude=(true|false|flag)\r
+In-Reply-To: <1331836925-31437-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1331836925-31437-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.11.1+306~g05d342c (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 16 Mar 2012 23:02:30 -0700\r
+Message-ID: <87k42jepe1.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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, 17 Mar 2012 06:02:44 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Thu, 15 Mar 2012 18:42:00 +0000, Mark Walters <markwalters1009@gmail.com=\r
+> wrote:\r
+> This series changes the --no-exclude options to count, search and show\r
+> to --exclude=3D(true|false|flag). It also changes the default to true\r
+> rather than flag for speed and for uncluttered command line output.\r
+>=20\r
+> This series replaces the series\r
+> id:"1330779918-28024-1-git-send-email-markwalters1009@gmail.com". Jani\r
+> suggested the --exclude=3D rather than --with-excluded approach as being\r
+> both clearer and easier to extend.\r
+>=20\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
+And indeed it does.  I've tested and reviewed and it looks and works\r
+great.\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
+I fully support this change.  The new logic makes sense to me and is a\r
+good compromise between usability and flexibility.\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
+>=20\r
+> The rationale is that it is awkward to deal with a thread with\r
+> "missing" messages.\r
+\r
+Agreed.  I should note that for all uses of excludes that I can think of\r
+one would not expect to be excluding messages from threads that one\r
+would otherwise be keeping.  So I certainly have no problem not\r
+excluding=20\r
+\r
+Thanks again for working on this, Mark.  Your efforts are much\r
+appreciated.  This is nice new functionality.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJPZCj2AAoJEO00zqvie6q8ZX4P/ik7Gh6wHF41SLKSAYvseF0h\r
+Z60erIreUdOvrATmg6bYxuuY8cwe7//KBUMVtQ01hSgGGMnYXCSfkNm9ZoNK9moy\r
+in2xVRSbxKGyTobtwRqdUnh2NfWKY5y0iHGiqOl4ENsN/OqFOUFzvCKAwTFSH4ck\r
+P/z8D33koX4JPah/5RyUH7pi+COKfFxmdwqS+uCmn+Fp616BjQ9Qb8zWCqXBajha\r
+R37q62D+Mgf1Wfa1e5kaszmxXkkNa5ITU6LlUWDOGKQ1ek/NpexxUIjgTuu7ve4R\r
+MDSrUqqttPiDkP2ifkJ0w8k7uSZxktFL9sufj+g9Ar60jyuqz8Txaf8+bGCN4lFf\r
+PVIc7szkVokr/DUHo2vfKFoIahyKTj/BUae93efCn/dkQayqJmXS7yXkcB6w4hJm\r
+Y/O0Yg3ARr2e1AiZj817n8aUQPyHD7XT4fOSDGel1OO3pdbjLMvFoxXTTGBwZCJV\r
+Exs7XqHh+apBJ5G7n1FdtoLOIjWS2LXBdYjjonM3lvtfLreLd2ZkDa7AxKUrcXzG\r
+2FPnFYwDzIEQafB3Mc9VBLvQvsepOVpMtBBQ0kGOjnoChfBg3V2cSEy+MbbH5bBp\r
+WviAZkcb7ojS8s02CtXayUNGfAc0XnHF3PzVvdnpWWpUEZlhj3K7j7CWQJMlz8Yo\r
+17PyABkNNehTDYnAhddg\r
+=0hCW\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r