contrib: pick: Link in attachment functions straight from notmuch-show
authorMark Walters <markwalters1009@gmail.com>
Thu, 22 Aug 2013 17:10:18 +0000 (18:10 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Aug 2013 09:16:03 +0000 (11:16 +0200)
We can use the attachment functions straight from
notmuch-show. notmuch-show-view-all-mime-parts might be deprecated so
we either want to undeprecate it or not have this binding.

contrib/notmuch-pick/notmuch-pick.el

index 22ade72701a33ea225f176dd0e0e72243e8e3fdc..d841d994579402b0ba4cdaf89a13bec40d6221b1 100644 (file)
@@ -192,6 +192,8 @@ if the user has loaded a different buffer in that window.")
     (define-key map [mouse-1] 'notmuch-pick-show-message)
     ;; these use notmuch-show functions directly
     (define-key map "|" 'notmuch-show-pipe-message)
+    (define-key map "w" 'notmuch-show-save-attachments)
+    (define-key map "v" 'notmuch-show-view-all-mime-parts)
     (define-key map "q" 'notmuch-pick-quit)
     (define-key map "x" 'notmuch-pick-quit)
     (define-key map "?" 'notmuch-help)