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 1A8BB431FBC for ; Wed, 10 Feb 2010 05:54:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.637 X-Spam-Level: X-Spam-Status: No, score=-0.637 tagged_above=-999 required=5 tests=[AWL=-0.638, BAYES_50=0.001] 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 fuBV6frLanWf for ; Wed, 10 Feb 2010 05:54:33 -0800 (PST) Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57]) by olra.theworths.org (Postfix) with ESMTP id 6B8FC431FAE for ; Wed, 10 Feb 2010 05:54:33 -0800 (PST) Received: from fctnnbsc30w-142167166109.pppoe-dynamic.high-speed.nb.bellaliant.net ([142.167.166.109] helo=rocinante.cs.unb.ca) by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NfD1U-0003xU-IG; Wed, 10 Feb 2010 09:54:32 -0400 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71) (envelope-from ) id 1NfCyp-0006kq-W8; Wed, 10 Feb 2010 09:51:47 -0400 From: David Bremner To: notmuch@notmuchmail.org, scott@quadhome.com In-Reply-To: <1262272660-16786-1-git-send-email-david@tethera.net> References: <1262272660-16786-1-git-send-email-david@tethera.net> Date: Wed, 10 Feb 2010 09:51:47 -0400 Message-ID: <87mxzhjj0s.fsf@rocinante.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender-Verified: bremner@pivot.cs.unb.ca 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: Wed, 10 Feb 2010 13:54:34 -0000 On Thu, 31 Dec 2009 11:17:40 -0400, david@tethera.net wrote: > From: Scott Robinson > > In the case of notmuch-show, "--format=json" also implies > "--entire-thread" as the thread structure is implicit in the emitted > document tree. > Dear Scott and other interested parties; As I play with json output a bit more, it seems like having --entire-thread optional would be useful for quite a few applications. For example, if I want to get the From address for a given message-ID, I with the current setup I have to post process the output. This is doable, but I wonder if the better option isn't to make --entire-thread optional for --format=json as well. Any thoughts? David