[emacs] Refactor my own mu4e settings into a shareable config bit

This commit is contained in:
Sebastian Schulze 2022-11-09 16:23:20 +01:00
parent 70c3a3beb2
commit e56c6b3bd4
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 14 additions and 0 deletions

View File

@ -215,6 +215,20 @@
(cond
((mu4e-message-contact-field-matches msg :to "bascht.com") (cdr-safe (car-safe (mu4e-message-field msg :to))))
(t user-mail-address)))))
(after! mu4e
(setq
org-msg-signature (with-current-buffer (find-file-noselect "/home/bascht/.signature") (buffer-string))
mu4e-change-filenames-when-moving t
message-send-mail-function 'message-send-mail-with-sendmail
message-sendmail-extra-arguments '("--read-envelope-from")
message-sendmail-f-is-evil 't
mu4e-update-interval 600
mu4e-compose-complete-only-after "2016-01-01"
mu4e-compose-dont-reply-to-self 't
mu4e-compose-format-flowed t
mu4e-get-mail-command "mbsync -a"
mu4e-headers-include-related t
sendmail-program "msmtp"))
; Disable spell-fu-mode globally
(remove-hook 'text-mode-hook #'spell-fu-mode)