From: Tomi Ollila <tomi.ollila@iki.fi>
Date: Sat, 7 May 2016 19:03:12 +0000 (+0300)
Subject: emacs: bind notmuch-show-resend-message to 'b' in notmuch-show mode
X-Git-Tag: 0.23_rc0~113
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=fd3503e99ee1977b3d5264755ec4ab2fe1e0078a;p=notmuch-old

emacs: bind notmuch-show-resend-message to 'b' in notmuch-show mode

This binding is similar to mutt's, which is

bind {mode} b   "bounce-message"    # remail a message to another user

where {mode} is 'index', 'pager' or 'attach'.
---

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 4b8c66fd..f33096cf 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1418,6 +1418,7 @@ reset based on the original query."
     (define-key map (kbd "TAB") 'notmuch-show-next-button)
     (define-key map "f" 'notmuch-show-forward-message)
     (define-key map "F" 'notmuch-show-forward-open-messages)
+    (define-key map "b" 'notmuch-show-resend-message)
     (define-key map "l" 'notmuch-show-filter-thread)
     (define-key map "r" 'notmuch-show-reply-sender)
     (define-key map "R" 'notmuch-show-reply)