Re: [notmuch] [PATCH] Make search filters handle disjunctive queries.
authorCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 02:56:59 +0000 (18:56 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:48 +0000 (09:35 -0800)
28/c2045c5404a1a1d5759565b16760a6cd4a8104 [new file with mode: 0644]

diff --git a/28/c2045c5404a1a1d5759565b16760a6cd4a8104 b/28/c2045c5404a1a1d5759565b16760a6cd4a8104
new file mode 100644 (file)
index 0000000..44dbdfa
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <cworth@cworth.org>\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 37844431FBC;\r
+       Tue,  1 Dec 2009 18:57:18 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 e5gI-jQBphmt; Tue,  1 Dec 2009 18:57:17 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 51797431FAE;\r
+       Tue,  1 Dec 2009 18:57:17 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id AA15125438C; Tue,  1 Dec 2009 18:56:59 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Jed Brown <jed@59A2.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <1258999643-30742-1-git-send-email-jed@59A2.org>\r
+References: <1258976966-22407-1-git-send-email-jed@59A2.org>\r
+       <1258999643-30742-1-git-send-email-jed@59A2.org>\r
+Date: Tue, 01 Dec 2009 18:56:59 -0800\r
+Message-ID: <87bpii9j7o.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] Make search filters handle disjunctive\r
+       queries.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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, 02 Dec 2009 02:57:18 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 23 Nov 2009 19:07:23 +0100, Jed Brown <jed@59A2.org> wrote:\r
+> notmuch-search-filter accepts now accepts an arbitrary query and will\r
+> group if necessary so that we get\r
+>=20\r
+>   tag:inbox AND (gravy OR biscuits)\r
+>=20\r
+> notmuch-search-filter-tag now handles multiple terms.  All terms in the\r
+> query except AND and OR are interpreted as tags.\r
+\r
+Hi Jed,\r
+\r
+Sorry this one has sat in my queue for a while. But I finally got around\r
+to it.\r
+\r
+The above commit message (and the patch below) really do implement two\r
+separate features, so really should be separated into two separate\r
+commits. I do like both of the ideas, and will be glad to commit both\r
+when they arrive separate.\r
+\r
+> This version has nice regexes and handles NOT.\r
+\r
+And that kind of commentary, (referring to a previous revision of the\r
+patch), is great in an email discussion like we're having here, but\r
+won't make any sense within the context of the log of commit\r
+messages. So such commentary is best placed *after* the "---" separator.\r
+\r
+> Signed-off-by: Jed Brown <jed@59A2.org>\r
+> ---\r
+\r
+That is, the commentary would go here in the original message, and then\r
+I won't have to "commit --amend" the commentary away after applying the\r
+patch.\r
+\r
+Thanks,\r
+\r
+=2DCarl\r
+\r
+PS. Hmm... "notmuch reply" needs to be more clever to avoid duplicate\r
+addresses in the To: and Cc: lines. See above.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLFdd76JDdNq8qSWgRAndhAJ0RC8bhzB6e8QYSHg/0VR9ieqFIrwCcCliL\r
+b0wHFTvZCLT626X5SsUqMM4=\r
+=HXF+\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r