[PATCH v3 2/5] reply: Add a JSON reply format.
Mark Walters
markwalters1009 at gmail.com
Sun Feb 5 04:45:05 PST 2012
On Sun, 05 Feb 2012 11:50:12 +0000, Mark Walters <markwalters1009 at gmail.com> wrote:
> On Thu, 19 Jan 2012 10:46:54 -0700, Adam Wolfe Gordon <awg+notmuch at xvx.ca> wrote:
> > This new JSON format for replies includes headers generated for a reply
> > message as well as the headers and all text parts of the original message.
> > Using this data, a client can intelligently create a reply. For example,
> > the emacs client will be able to create replies with quoted HTML parts by
> > parsing the HTML parts using w3m.
>
> Hi this is only a preliminary look so far as I read the code. Note this
> is the first time I have tried reviewing a substantial chunk of code so
> sorry for any stupidities on my part!
After Austin's show modifications (commit 7430a42) I needed the
following patch which is probably trivial but I was only guessing based
on the other change to notmuch-reply Austin made at the time.
Best wishes
Mark
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 9aefce8..1c62b54 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -56,7 +56,7 @@ static const notmuch_show_format_t format_reply = {
};
static const notmuch_show_format_t format_json = {
- "",
+ "", NULL,
"", NULL,
"", NULL, NULL, "",
"",
More information about the notmuch
mailing list