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

2014-10-24 Thread Tomi Ollila
On Thu, Oct 23 2014, Mark Walters markwalters1...@gmail.com wrote: On Sun, 12 Oct 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching messages. The --output option is converted from keyword argument to flags argument, which

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

2014-10-24 Thread 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@example.com] It seems wrong to me to go to the

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

2014-10-24 Thread Michal Sojka
Hi Mark, I mostly agree with your points mentioned in this and other your emails. I'll prepare v4 based on that. On Wed, Oct 22 2014, Mark Walters wrote: On Sun, 12 Oct 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching

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

2014-10-23 Thread Mark Walters
On Sun, 12 Oct 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching messages. The --output option is converted from keyword argument to flags argument, which means that the user can use --output=sender and --output=recipients

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

2014-10-22 Thread Mark Walters
On Sun, 12 Oct 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching messages. The --output option is converted from keyword argument to flags argument, which means that the user can use --output=sender and --output=recipients

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

2014-10-19 Thread Tomi Ollila
Hi Michal, been busy lately so I haven't got into this... ... I'll look into it in a bit more detail a bit later, On Tue, Oct 14 2014, Michal Sojka sojk...@fel.cvut.cz wrote: I don't know. You seem to think about this in the opposite way than how it is implemented. The implementation

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

2014-10-13 Thread Tomi Ollila
On Mon, Oct 13 2014, Michal Sojka sojk...@fel.cvut.cz wrote: The new outputs allow printing senders, recipients or both of matching messages. The --output option is converted from keyword argument to flags argument, which means that the user can use --output=sender and --output=recipients