deprecating legacy text output

Subject: deprecating legacy text output

Date: Tue, 10 Jul 2012 16:45:31 -0600

To: Jameson Graef Rollins, notmuch@notmuchmail.org

Cc:

From: David Bremner


On Tue, 10 Jul 2012 10:04:10 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Tue, Jul 10 2012, Mark Walters <markwalters1009@gmail.com> wrote:
> > I think I would also add something saying that the text format is just
> > different (and that a significant chunk of the patch is just that).
> 
> Can we not just dump this output format once and for all?  Does anything
> use it?  And if so can we just modify it to use a more sensible format?

I think we need to at least deprecate the format for a release or so, as
there are definitely people using it in the wild.  As far as I know the
at least the Vim interface uses it (what about notmuch-mutt?), in
addition to whatever homebrewed scripts might use it. Since
scriptability is one of the "notmuch core values", I guess we should
also provide something more script friendly than json. As you say, it
doesn't have to be exactly like what we have now.

d

Thread: