unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Allow widen reply 
@ 2013-05-11 20:15 Mark Walters
  2013-05-11 20:15 ` [PATCH 1/3] cli: show: separate out the printing of recipient headers Mark Walters
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mark Walters @ 2013-05-11 20:15 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-12 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-11 20:15 [PATCH 0/3] Allow widen reply Mark Walters
2013-05-11 20:15 ` [PATCH 1/3] cli: show: separate out the printing of recipient headers Mark Walters
2013-05-11 20:15 ` [PATCH 2/3] cli: reply: additionally output reply-to-all headers to allow widen reply Mark Walters
2013-05-11 20:15 ` [PATCH 3/3] emacs: mua: allow the user to widen the reply Mark Walters
2013-05-12 20:53 ` [PATCH 0/3] Allow widen reply Jani Nikula

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).