[PATCH] emacs: rebind the "Send Message" toolbar/menu items

2021-05-30 Thread edef
All three of C-c C-c, , and 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/emac

[PATCH] emacs: remap send-message and send-message-and-exit

2021-05-31 Thread edef
All three of C-c C-c, , and are bound to message-send-and-exit by message.el, but notmuch-mua.el only had an explicit override for the keyboard binding. This mostly manifests as confusing Fcc behaviour for GUI users. Patching the bindings for specific keys is rather brittle, since it has to be

Re: [PATCH] emacs: remap send-message and send-message-and-exit

2021-06-04 Thread edef
> > (defvar notmuch-message-mode-map > >(let ((map (make-sparse-keymap))) > > -(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 [remap message-send-and-exit] > > 'notmuch-mua-send-and-exit) >

[PATCH v2] emacs: remap send-message and send-message-and-exit

2021-06-13 Thread edef
All three of C-c C-c, , and are bound to message-send-and-exit by message.el, but notmuch-mua.el only had an explicit override for the keyboard binding. This mostly manifests as confusing Fcc behaviour for GUI users. Patching the bindings for specific keys is rather brittle, since it has to be