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