Re: [PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}

Subject: Re: [PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}

Date: Fri, 24 Oct 2014 11:23:38 +0100

To: Mark Walters, Michal Sojka, notmuch@notmuchmail.org

Cc:

From: David Edmondson


On Thu, Oct 23 2014, Mark Walters wrote:
> Thinking about this some more how about printing the name and address as
> a structured pair/map (at least for all cases except text/text0 output):
> something like (in JSON)
> [name: "John Doe" address: "john.doe@example.com"]
>
> It seems wrong to me to go to the effort of separating them in the C and
> then combining them in the output.

Agreed, this would be convenient.

Thread: