diff options
author | Thanos Apollo <[email protected]> | 2023-11-24 14:24:25 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-11-24 14:24:25 +0200 |
commit | 7f89a06305876061b1f2c69b0951c12a4de110e8 (patch) | |
tree | b5a9d50fd820bd4ddebe7b1fbf04615d98baba92 | |
parent | 685860933dc9503d77f9aa7634ab75599b88e755 (diff) |
emacs:(mu4e) Add hook for secure message sign
-rw-r--r-- | .emacs.d/modules/thanos-mu4e.el | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.emacs.d/modules/thanos-mu4e.el b/.emacs.d/modules/thanos-mu4e.el index d90f236..32f3d00 100644 --- a/.emacs.d/modules/thanos-mu4e.el +++ b/.emacs.d/modules/thanos-mu4e.el @@ -103,7 +103,7 @@ (smtpmail-stream-type . ssl))))) (setf message-send-mail-function 'smtpmail-send-it - mu4e-compose-signature "Thanos Apollo\nhttps://thanosapollo.org" + mu4e-compose-signature "Thanos Apollo\nhttps://thanosapollo.org\n" mu4e-compose-context-policy 'ask mu4e-compose-format-flowed t) @@ -117,20 +117,14 @@ ("crun checkpatch script" . my-mu4e-action-run-check-patch) ("MCheck if merged" . my-mu4e-action-check-if-merged))))) -(setf mu4e-view-actions - (delete-dups - (append - '(("gapply git patches" . mu4e-action-git-apply-patch) - ("mgit am patch" . mu4e-action-git-apply-mbox) - ("bb4 am patch" . mu4e-action-git-apply-b4) - ("ssetup reword list with b4" . mu4e-action-setup-reword-b4) - ("crun checkpatch script" . my-mu4e-action-run-check-patch) - ("MCheck if merged" . my-mu4e-action-check-if-merged))))) - (add-hook 'mu4e-main-mode-hook #'(lambda () (display-line-numbers-mode -1) (auto-save-mode -1))) + +;; Sign messages +(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) + (require 'mu4e-alert) (mu4e-alert-enable-mode-line-display) |