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(-) -- 2.20.1 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch