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

David Bremner david at tethera.net
Wed Feb 10 05:51:47 PST 2010


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



More information about the notmuch mailing list