This is an initial draft of a patch to allow the emacs frontend to "widen" the reply: i.e., change the headers to reply-to-all after a reply-to-sender has been started. The reply cli json output is modified to always output the reply-to-all headers. Emacs message mode already as a key binding for widening reply (C-c C-f w) so we use that. There are some things that need to be worked out: do we want to allow narrowing the reply (ie going from reply-to-all back to reply-to-sender)? I did not implement this as it was slightly easier not to, message-mode doesn't have this by default, and it's easy for a user to remove recipients. I have not updated tests (the reply json test fails) or the schemata. I thought it was worth deciding what format we wanted for the json first. Finally, I am not sure I have got the overriding of message-widen-reply keybinding right. It does seem to work. Best wishes Mark Mark Walters (3): cli: show: separate out the printing of recipient headers cli: reply: additionally output reply-to-all headers to allow widen reply emacs: mua: allow the user to widen the reply emacs/notmuch-mua.el | 22 +++++++++++++++++++++- notmuch-client.h | 3 +++ notmuch-reply.c | 18 +++++++++++++++++- notmuch-show.c | 35 +++++++++++++++++++++-------------- 4 files changed, 62 insertions(+), 16 deletions(-) -- 1.7.9.1