Re: [PATCH] lib: Add a new prefix "list" to the search-terms syntax
authorAlexey I. Froloff <raorn@raorn.name>
Mon, 8 Apr 2013 10:03:36 +0000 (14:03 +0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:17 +0000 (09:54 -0800)
ab/6b65f66d507b7f87592e48bf84370bfab6ee79 [new file with mode: 0644]

diff --git a/ab/6b65f66d507b7f87592e48bf84370bfab6ee79 b/ab/6b65f66d507b7f87592e48bf84370bfab6ee79
new file mode 100644 (file)
index 0000000..867975f
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <raorn@raorn.name>\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 E0D0A431FBD\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Apr 2013 03:03:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.363\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.363 tagged_above=-999 required=5\r
+       tests=[RDNS_DYNAMIC=0.363] 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 CJr96XOhmu2C for <notmuch@notmuchmail.org>;\r
+       Mon,  8 Apr 2013 03:03:35 -0700 (PDT)\r
+Received: from mail.raorn.name (c2-81-23-10-117.elastic.cloud.croc.ru\r
+       [81.23.10.117])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 58884431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Apr 2013 03:03:35 -0700 (PDT)\r
+Received: by mail.raorn.name (Postfix, from userid 500)\r
+       id C100C198; Mon,  8 Apr 2013 14:03:36 +0400 (MSK)\r
+Date: Mon, 8 Apr 2013 14:03:36 +0400\r
+From: "Alexey I. Froloff" <raorn@raorn.name>\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: [PATCH] lib: Add a new prefix "list" to the search-terms syntax\r
+Message-ID: <20130408100336.GA1806@raorn.name>\r
+References: <1364996763-19718-1-git-send-email-raorn@raorn.name>\r
+       <874nfjj2lo.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/"\r
+Content-Disposition: inline\r
+In-Reply-To: <874nfjj2lo.fsf@zancas.localnet>\r
+User-Agent: Mutt/1.5.21 (2010-12-30)\r
+X-Mailman-Approved-At: Mon, 08 Apr 2013 03:12:29 -0700\r
+Cc: notmuch@notmuchmail.org\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: Mon, 08 Apr 2013 10:03:36 -0000\r
+\r
+\r
+--TB36FDmn/VVEgNH/\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, Apr 06, 2013 at 08:54:59AM -0300, David Bremner wrote:\r
+> On the other hand, _notmuch_message_gen_terms does return a status. I\r
+> agree that currently this status is not useful, but that could change in\r
+> the future.  I also agree that the existing code does the same thing in\r
+> a few places, but I think it's better not to introduce more.\r
+Well, this is an adaptation of earlier patch, posted in this list\r
+some time ago.  Personally I see no reason in indexing list\r
+description.\r
+\r
+> Any objections to the list: syntax?  The only issue I see is that at\r
+> some point we will probably add a generic header search syntax, and this\r
+> implicitly says list-id is more important/common than other headers.\r
+Actual list ID differs from List-Id header value.  I can't give\r
+an example of other message header with similar syntax other from\r
+=46rom/To/Cc, but those headers already specially processed.\r
+\r
+I also will be happy if I can just assign tag to a message using\r
+list ID.\r
+\r
+--=20\r
+Regards,    --\r
+Sir Raorn.   --- http://thousandsofhate.blogspot.com/\r
+\r
+--TB36FDmn/VVEgNH/\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: Digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJRYpX1AAoJEBd6rh2Yq9Fro2UIAJZ1wixIn/szoEpGzWD8KGQ1\r
+YTlhg8QXZ8uxuNNK9cfHMnuGuJ4pSsCN5orkP67yfMNdlJXDEzzBbK9xVlGFi4r6\r
+F/Znd7pEWkR7tQEJspz9bQQPXgWnBqWbA2GQMhm5K+WdiLnK5uOI9vSk1kdSIH18\r
+iJ1rMpvx9QTsSIYgHcuTQsFDdjB+ULRIwc6dYokp9RkS8769VmBdy2/CMUusSu5a\r
+PN4KNHFZAYXlYJkTMdcJPQPXRTUcOqaTvrRSge0UR/SHbt0Y2C9RX1VHKY1Llzf8\r
+HYGUezKa/FQt8Wo8ZhlthXTqPeJ+JD4DstyX5SBoiLQHX/7+uK2KoOMyeUFaPQw=\r
+=aof+\r
+-----END PGP SIGNATURE-----\r
+\r
+--TB36FDmn/VVEgNH/--\r