Hi everyone, This is a new version of my reply series [1] that addresses Jani's and Austin's reviews and fixes a couple of bugs I found in using the patches. Summary of the changes: * The patch that disallows replying to multiple messages with the default format has been dropped, as Jani and Austin agreed that there's no reason this should be changed now. The JSON format sill only allows replying to a single message. * The emacs reply code now shares code to get message content with show. This should mean better handling of character sets and other things. * I noticed that reply supports a --decrypt option, and the emacs interface actually does use it. I've documented the option in the reply man page. If someone can test that replying to encrypted messages actually works in emacs, that would be great - I have no way to test this. [1] id:"1329893199-21630-1-git-send-email-awg+notmuch@xvx.ca" Adam Wolfe Gordon (10): test: Add broken test for the new JSON reply format. reply: Factor out reply creation 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. man: Add --decrypt to reply flags 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 | 8 + devel/schemata | 27 +- emacs/notmuch-lib.el | 44 ++ emacs/notmuch-mua.el | 136 ++++-- emacs/notmuch-show.el | 24 +- man/man1/notmuch-reply.1 | 18 +- notmuch-client.h | 14 +- notmuch-reply.c | 153 ++++-- notmuch-show.c | 29 +- test/emacs | 101 ++++- test/multipart | 52 ++ test/test-lib | 1242 ++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 1726 insertions(+), 122 deletions(-) create mode 100755 test/test-lib -- 1.7.5.4