From 0b229565ad5ca175bb777f6b2c7d1ad20e83c2ba Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 2 Sep 2015 17:34:42 +0300 Subject: [PATCH] [PATCH 4/4] emacs: bind notmuch-show-resend-message to 'b' in notmuch-show mode --- bb/f6bfcfc50ee49e15ae542b5a5e0fb9a9479325 | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 bb/f6bfcfc50ee49e15ae542b5a5e0fb9a9479325 diff --git a/bb/f6bfcfc50ee49e15ae542b5a5e0fb9a9479325 b/bb/f6bfcfc50ee49e15ae542b5a5e0fb9a9479325 new file mode 100644 index 000000000..7e440dd4f --- /dev/null +++ b/bb/f6bfcfc50ee49e15ae542b5a5e0fb9a9479325 @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 65A2B6DE0B38 + for ; Wed, 2 Sep 2015 07:36:21 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.232 +X-Spam-Level: +X-Spam-Status: No, score=0.232 tagged_above=-999 required=5 tests=[AWL=0.772, + RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id v3Sfzc2a1vbY for ; + Wed, 2 Sep 2015 07:36:19 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 1B5986DE0B7C + for ; Wed, 2 Sep 2015 07:36:16 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id D865410034F; Wed, 2 Sep 2015 17:34:47 +0300 (EEST) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH 4/4] emacs: bind notmuch-show-resend-message to 'b' in + notmuch-show mode +Date: Wed, 2 Sep 2015 17:34:42 +0300 +Message-Id: <1441204482-26509-4-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 2.0.0 +In-Reply-To: <1441204482-26509-1-git-send-email-tomi.ollila@iki.fi> +References: <1441204482-26509-1-git-send-email-tomi.ollila@iki.fi> +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 02 Sep 2015 14:36:21 -0000 + +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'. +--- + emacs/notmuch-show.el | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +index 046cb0e41f0b..e7e381eecc42 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -1373,6 +1373,7 @@ (defvar notmuch-show-mode-map + (define-key map (kbd "") 'notmuch-show-previous-button) + (define-key map (kbd "TAB") 'notmuch-show-next-button) + (define-key map "f" 'notmuch-show-forward-message) ++ (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) +-- +2.0.0 + -- 2.26.2