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 B2840476B93 for ; Tue, 9 Mar 2010 12:19:35 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.294 X-Spam-Level: X-Spam-Status: No, score=-0.294 tagged_above=-999 required=5 tests=[AWL=-0.295, BAYES_50=0.001] autolearn=unavailable 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 NsfQKX8uUD4N for ; Tue, 9 Mar 2010 12:19:33 -0800 (PST) Received: from convex-new.cs.unb.ca (convex-new.cs.unb.ca [131.202.245.35]) by olra.theworths.org (Postfix) with ESMTP id 6A92449168A for ; Tue, 9 Mar 2010 12:19:33 -0800 (PST) Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.69) (envelope-from ) id 1Np5tc-0002U0-V5; Tue, 09 Mar 2010 16:19:16 -0400 From: David Bremner To: Carl Worth , notmuch@notmuchmail.org In-Reply-To: <87r5nt8e99.fsf@yoom.home.cworth.org> 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> Date: Tue, 09 Mar 2010 16:19:16 -0400 Message-ID: <87iq95uu2j.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Tue, 09 Mar 2010 20:19:35 -0000 On Tue, 09 Mar 2010 11:51:46 -0800, Carl Worth wrote: > Are you proposing the tabular format for inclusion in notmuch? > > Or does "prototype" suggest that you were just showing a demonstration > of what could be done here? > > If you do want this included, what's the motivation for this format? 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. --format=tabular --output=message-id 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. All the best, David