Re: [notmuch] [PATCH] Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.

Subject: Re: [notmuch] [PATCH] Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.

Date: Wed, 10 Feb 2010 09:51:47 -0400

To: notmuch@notmuchmail.org, scott@quadhome.com

Cc:

From: David Bremner


On Thu, 31 Dec 2009 11:17:40 -0400, david@tethera.net wrote:
> From: Scott Robinson <scott@quadhome.com>
> 
> 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


Thread: