Hi all, This is an updated version of my previous series [1], primarily addressing the concerns from Austin's review. The big changes are:
* Documentation: add a TODO regarding reply to multiple messages and the JSON reply format to schemata. * Emacs: using plists instead of alists in JSON parsing, and the resulting adjustments to the code that consumes the parsed data. * Emacs: slightly nicer handling of multipart/alternative parts. In particular, quote only the last part of desirable type instead of all the parts of desirable type. * Split up the reply patch to make things a bit more clear. I noticed that the factoring out reply creation patch has been promoted to "maybe ready" in nmbug. I think this version is unchanged, but since the old one hasn't been pushed this one can probably replace it there. [1] id:"1329361957-28493-1-git-send-email-awg+notmuch at xvx.ca" Adam Wolfe Gordon (10): test: Add broken test for the new JSON reply format. reply: Factor out reply creation reply: Require that only one message is returned TODO: Add replying to multiple messages reply: Add a JSON reply format. schemata: Add documentation for JSON reply format. man: Update notmuch-reply man page for JSON format. emacs: Factor out useful functions into notmuch-lib test: Add broken tests for new emacs reply functionality emacs: Use the new JSON reply format and message-cite-original devel/TODO | 5 ++ devel/schemata | 27 +++++++- emacs/notmuch-lib.el | 44 ++++++++++++ emacs/notmuch-mua.el | 132 +++++++++++++++++++++++++----------- emacs/notmuch-show.el | 24 +------ man/man1/notmuch-reply.1 | 5 ++ notmuch-client.h | 10 ++- notmuch-reply.c | 166 ++++++++++++++++++++++++++++++++-------------- notmuch-show.c | 30 ++++++-- test/emacs | 101 +++++++++++++++++++++++++++- test/multipart | 51 ++++++++++++++ 11 files changed, 468 insertions(+), 127 deletions(-) -- 1.7.5.4