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 650CB4916B2 for ; Wed, 10 Mar 2010 01:25:41 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.327 X-Spam-Level: X-Spam-Status: No, score=-3.327 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=1.072, 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 3qLl26o81f-8; Wed, 10 Mar 2010 01:25:40 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5EEDD4916AE; Wed, 10 Mar 2010 01:25:40 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id AAA5A54C004; Wed, 10 Mar 2010 01:25:22 -0800 (PST) From: Carl Worth To: David Bremner , notmuch@notmuchmail.org In-Reply-To: <87iq95uu2j.fsf@convex-new.cs.unb.ca> References: <87iqc4yyo8.fsf@yoom.home.cworth.org> <1261234524-25522-1-git-send-email-david@tethera.net> <1261234524-25522-2-git-send-email-david@tethera.net> <1261234524-25522-3-git-send-email-david@tethera.net> <1261234524-25522-4-git-send-email-david@tethera.net> <87r5nt8e99.fsf@yoom.home.cworth.org> <87iq95uu2j.fsf@convex-new.cs.unb.ca> Date: Wed, 10 Mar 2010 01:25:22 -0800 Message-ID: <87lje08r5p.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 3/3] notmuch-show.c: prototype tabular output format, with output control 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: Wed, 10 Mar 2010 09:25:41 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 09 Mar 2010 16:19:16 -0400, David Bremner wrote: > I think some tabular format would be handy because it is very easy to > parse with scripts, and because it is a natural natural way to get > e.g. a list of message-ids. >=20 > --format=3Dtabular --output=3Dmessage-id Ah, so maybe your "notmuch show --format=3Dtabular" is basically the same thing I imagined for "notmuch search" (once we teach it to accept a list of the desired elements to output). > On the other hand, I'm not yet using this code, so I guess the main > point is to discuss how output control should be implemented, and in > that sense the patch is a demo. I suspect once we start using json > output more, we will definitely want it there. Yes. I think we next need to implement some --output options and then see what we want from there. =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLl2WC6JDdNq8qSWgRAu/DAJwMvBLHHHGrDCIISPqeb/w3kDorbACeMBz2 rimy19ZAkAG0UDDx8ph41Ek= =H7On -----END PGP SIGNATURE----- --=-=-=--