From 12467f773d6516af67e17b24b6bb940650637413 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Mon, 5 Sep 2022 08:55:05 -0700 Subject: emacs: notmuch capture-mail --- .emacs.local.d/modes/notmuch.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.emacs.local.d') diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index 208e051..b22ede3 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -35,6 +35,13 @@ ;; End upstream ;; Keymaps +(defun rul/capture-mail() + "Capture mail to org mode." + (interactive) + (org-store-link nil) + (org-capture nil "m") + ) +(bind-key "t" 'rul/capture-mail notmuch-show-mode-map) ; Spam (define-key notmuch-show-mode-map "S" -- cgit v1.2.3