[notmuch] [PATCH 3/3] notmuch-show.c: prototype tabular output format, with output control
David Bremner
david at tethera.net
Tue Mar 9 12:19:16 PST 2010
On Tue, 09 Mar 2010 11:51:46 -0800, Carl Worth <cworth at cworth.org> wrote:
> Are you proposing the tabular format for inclusion in notmuch?
>
> Or does "prototype" suggest that you were just showing a demonstration
> of what could be done here?
>
> If you do want this included, what's the motivation for this format?
I think some tabular format would be handy because it is very easy to
parse with scripts, and because it is a natural natural way to get
e.g. a list of message-ids.
--format=tabular --output=message-id
On the other hand, I'm not yet using this code, so I guess the main
point is to discuss how output control should be implemented, and in
that sense the patch is a demo. I suspect once we start using json
output more, we will definitely want it there.
All the best,
David
More information about the notmuch
mailing list