[PATCH 0/2] Updating tags when replying or forwarding via a buffer-local variable

Örjan Ekeberg ekeberg at kth.se
Sat Mar 30 14:48:19 PDT 2019

These patches implement a message-send-hook which uses a buffer-local variable
to tag replied and forwarded messages.

The first patch replaces the current heuristic hook for detecting reply
messages with an explicit setting when the reply is composed.

The second patch adds the corresponding mechanism for forwarded messages.
This patch is on top of a previously submitted patch (for adding a References
header), and will not apply cleanly without that.

Örjan Ekeberg (2):
  emacs: Use a buffer-local variable to update tags when sending replies
  emacs: Tag forwarded messages with +forwarded (customizable)

 emacs/notmuch-message.el | 34 ++++++++++++++++++++++++++++++++--
 emacs/notmuch-mua.el     | 26 +++++++++++++++++++-------
 2 files changed, 51 insertions(+), 9 deletions(-)


More information about the notmuch mailing list