From a9aefc3bb310fe971dd772cce48d87d3b7422f0d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 13 Feb 2025 11:13:13 -0500 Subject: mu4e config changes to deal with flowed text --- dot_emacs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'dot_emacs') diff --git a/dot_emacs b/dot_emacs index a5bc8ba..fdb3414 100644 --- a/dot_emacs +++ b/dot_emacs @@ -35,6 +35,8 @@ (default-input-method "TeX") (user-full-name "Ryan Kavanagh") (user-mail-address "rak@rak.ac") + (mail-user-agent 'mu4e-user-agent) + (read-mail-command 'mu4e) :custom-face (default ((t (:family "Iosevka"))))) @@ -553,8 +555,13 @@ Otherwise split the current paragraph into one sentence per line." (use-package message :custom + (message-kill-buffer-on-exit t) (message-citation-line-function 'message-insert-formatted-citation-line) - (message-send-mail-function 'message-send-mail-with-sendmail)) + (message-send-mail-function 'message-send-mail-with-sendmail) + :hook + (message-mode . turn-off-auto-fill) + (message-mode . visual-line-mode) + (message-mode . visual-fill-column-mode)) (use-package message-view-patch :ensure t) @@ -683,9 +690,15 @@ Otherwise split the current paragraph into one sentence per line." (message-signature-file . "~/.signature") (sendmail-program . "msmtp"))))) :custom + ;; flowed text in messages + (mu4e-compose-format-flowed t) + ;; This is set to 't' to avoid mail syncing issues when using mbsync (mu4e-change-filenames-when-moving t) + ;; compose messages in new frame + (mu4e-compose-in-new-frame t) + ;; hide long list off addresses from main view and silence warnings ;; about mu4e not recognizing user-mail-address against regexp (mu4e-main-hide-personal-addresses t) @@ -1179,6 +1192,9 @@ If not, issue a warning." :config (add-to-list 'vc-handled-backends 'git)) +(use-package visual-fill-column + :ensure t) + (use-package wc-mode :ensure t) -- cgit v1.2.3