All three of C-c C-c, <menu-bar> <Message> <Send Message>,
and <tool-bar> <Send Message> are bound to message-send-and-exit by
message.el, but notmuch-mua.el only overrides the first.
This mostly manifests as confusing Fcc behaviour for GUI users.
---
emacs/notmuch-mua.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index bbf059a2..86a15f53 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -341,6 +341,8 @@ Typically this is added to `notmuch-mua-send-hook'."
(defvar notmuch-message-mode-map
(let ((map (make-sparse-keymap)))
+ (define-key map (kbd "<menu-bar> <Message> <Send Message>") #'notmuch-mua-send-and-exit)
+ (define-key map (kbd "<tool-bar> <Send Message>") #'notmuch-mua-send-and-exit)
(define-key map (kbd "C-c C-c") #'notmuch-mua-send-and-exit)
(define-key map (kbd "C-c C-s") #'notmuch-mua-send)
(define-key map (kbd "C-c C-p") #'notmuch-draft-postpone)
--
2.31.1
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org