From: Jameson Graef Rollins Date: Fri, 23 Nov 2012 07:23:47 +0000 (+1600) Subject: Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON output X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=63680c668feda08058432186079b88de6e789a49;p=notmuch-archives.git Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON output --- diff --git a/09/019b5e37752110d09eb9c903d50a1f88068f9f b/09/019b5e37752110d09eb9c903d50a1f88068f9f new file mode 100644 index 000000000..62d6ffa5a --- /dev/null +++ b/09/019b5e37752110d09eb9c903d50a1f88068f9f @@ -0,0 +1,104 @@ +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 4C39B431FBD + for ; Thu, 22 Nov 2012 23:24:17 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 4XVWpciZESbY for ; + Thu, 22 Nov 2012 23:24:13 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 765CB431FAF + for ; Thu, 22 Nov 2012 23:24:13 -0800 (PST) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id CBC8166E00A9; + Thu, 22 Nov 2012 23:24:10 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net + (108-67-137-54.lightspeed.mmphtn.sbcglobal.net [108.67.137.54]) + (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id B46C066E0215; + Thu, 22 Nov 2012 23:23:56 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id 251BA616F8; Thu, 22 Nov 2012 23:23:50 -0800 (PST) +From: Jameson Graef Rollins +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON + output +In-Reply-To: <87pq35jus1.fsf@qmul.ac.uk> +References: <1352487491-31512-1-git-send-email-markwalters1009@gmail.com> + <1352487491-31512-3-git-send-email-markwalters1009@gmail.com> + <87y5hty5q2.fsf@servo.finestructure.net> + <87pq35jus1.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.14+106~ga54bb5f (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 22 Nov 2012 23:23:47 -0800 +Message-ID: <87vccwye7w.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Fri, 23 Nov 2012 07:24:17 -0000 + +--=-=-= + +On Thu, Nov 22 2012, Mark Walters wrote: +> On Thu, 22 Nov 2012, Jameson Graef Rollins wrote: +>> On Fri, Nov 09 2012, Mark Walters wrote: +>>> This adds a --output=with-ids option which gives similar output to the +>>> normal search summary output but with a list of message ids +>>> too. Currently this is not implemented for text format. +>> +>> Hey, Mark. Very nit-picky comment here, but I'm not sure "with-ids" is +>> an appropriate name for an output type. "with-ids" sounds like a +>> modifier, as opposed to a output type unto itself. +> +> Yes that is true: I am very happy for any suggestions. Perhaps +> summary-with-ids? + +"summary-with-ids" seems fine with me. This is something that will +probably only be called by other programs, so having the name be longer +seems fine with me. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQrySDAAoJEO00zqvie6q8+H8P/iuI+4JaHtlyiVKFKiXyS0t5 +9jYqUDee0AtYDv3LXjypEk0nuK/0N4/zjWuVHP8XaHIcOivcprt/OnTEcBQsdlqc +wjI+S4BUCtYAAhwNpycXslo77TqDkebKxQ824hpdVnY6e8Hnl3CoGZnwipTU+L4f +m4k+5gYDQx1vBT7OkLZiY0tLZE3Db5t/yxbHfpOqZAeEWckbMPc7f/DO09PY6/mq +U8zTBu4KwKgb9Vox6LbRo65d3RIOgpAp+uO8inT5i/CvV1L86b0e8eldkvzV9yps +Mf8ux56ClRY80bcHiN7UfTF9F+u1YL9ji1dvjlKAGD6JVy9MbwuBl/YcCVO6ZwGg +VloytRJ+bzOGAks7Y/+VSIkGbP17e37dbbBdP0+agzE6DbnVBiU527Ma8Z1Cb16F +L3WtYWjN+9VPhy1xkE+dGkGJZJj7QxwbsECwth/58MytInCqGKzvANyAE8EZdMaG +km9r+HgG3hqRlgfkeQ4Xe+f3ugbCy1eizkTXVwTlexZL2gjT7pQsO0GOQVHOR736 +O2a5A79uIhWTHIVuyakz4NqvtTldppS9NtEDVoZeReouW73afU/zNB9fkykx+wSR +8aTy0c170K8gaaRwuQ/4zGrQC08VXcszFg7WzfsYzVRArrbksPBitASUCx2Y06OE +nBnI1goRlR8NCmIdLma7 +=Dwfd +-----END PGP SIGNATURE----- +--=-=-=--