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 E8E38431FBF for ; Tue, 23 Feb 2010 12:56:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.256 X-Spam-Level: X-Spam-Status: No, score=-3.256 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=1.143, BAYES_00=-2.599] autolearn=ham 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 xK3r5B46nZjU; Tue, 23 Feb 2010 12:56:17 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 48E8D431FAE; Tue, 23 Feb 2010 12:56:17 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 8C9DB25427B; Tue, 23 Feb 2010 12:56:15 -0800 (PST) From: Carl Worth To: david@tethera.net, notmuch@notmuchmail.org In-Reply-To: <1262272660-16786-1-git-send-email-david@tethera.net> References: <1262272660-16786-1-git-send-email-david@tethera.net> Date: Tue, 23 Feb 2010 12:56:15 -0800 Message-ID: <877hq3wu1c.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] [PATCH] Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show. 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: Tue, 23 Feb 2010 20:56:18 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 31 Dec 2009 11:17:40 -0400, david@tethera.net wrote: > This is an updated version of Scott Robinson's patch of > id:1261114167-sup-8228@lisa. All of the hard work is Scott's. My > changes to Scotts patch are=20 > - change option to --format from --output > - make a couple of calls to function points conditional on the=20 > function pointers being non-null > - updated the built-in documentation and the man page >=20 > I also changed the copyright of json.c to Scott. Hope that's OK with > Scott. Well that's embarrassing. I just went through the effort of reviewing the old patch and basically re-constructing that same list of tasks, (only to find out that this updated patch was already sitting in my queue, but later). Anyway, very well done! I've applied this now with one change: I'm now printing "thread" instead of "id" as the JSON name for the field with the thread id in it. I also added a mention to the TODO file that we should fix --format=3Djson to not imply --entire-thread. Thanks again, David and Scott (and we hope that all the backpacking goes well, Scott!). =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLhEDv6JDdNq8qSWgRAr/XAJ90FVLYQGjaXoGmLPTdmHDvjSz0qgCeJiHK buGDFeQEnn903cEjgVVOSeU= =6RKI -----END PGP SIGNATURE----- --=-=-=--