unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH 0/3] Allow widen reply 
Date: Sat, 11 May 2013 21:15:41 +0100	[thread overview]
Message-ID: <1368303344-13713-1-git-send-email-markwalters1009@gmail.com> (raw)

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

             reply	other threads:[~2013-05-11 20:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-11 20:15 Mark Walters [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368303344-13713-1-git-send-email-markwalters1009@gmail.com \
    --to=markwalters1009@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).