From a7e2636c331a1d7f79d05ed44986864e9cf823e4 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 10 Dec 2023 14:03:27 -0500 Subject: fixes --- emacs/.config/emacs-kj/lisp/kj-email.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'emacs/.config/emacs-kj') diff --git a/emacs/.config/emacs-kj/lisp/kj-email.el b/emacs/.config/emacs-kj/lisp/kj-email.el index 6acf3b8..0d4cd40 100644 --- a/emacs/.config/emacs-kj/lisp/kj-email.el +++ b/emacs/.config/emacs-kj/lisp/kj-email.el @@ -3,22 +3,26 @@ (setq kj/fastmail-maildir (expand-file-name "~/Maildir/fastmail")) (when (file-exists-p (expand-file-name "~/Maildir")) + (with-eval-after-load 'message + (setq message-mail-user-agent 'notmuch-user-agent + message-cite-style 'message-cite-style-thunderbird + message-citation-line-function 'message-insert-formatted-citation-line + message-kill-buffer-on-exit t) + (add-hook 'message-mode-hook 'turn-off-auto-fill) + (add-hook 'message-mode-hook 'visual-line-mode)) (use-package notmuch :config - (setq message-mail-user-agent 'notmuch-user-agent - message-kill-buffer-on-exit t) (setq notmuch-show-all-tags-list t notmuch-show-relative-dates t notmuch-hello-tag-list-make-query "tag:unread" notmuch-archive-tags '("-inbox" "-unread") notmuch-fcc-dirs nil notmuch-show-logo nil + notmuch-mua-cite-function 'message-cite-original-without-signature notmuch-wash-citation-lines-prefix most-positive-fixnum notmuch-wash-citation-lines-suffix most-positive-fixnum notmuch-show-indent-messages-width 0) - (add-hook 'message-mode-hook 'turn-off-auto-fill) - (add-hook 'message-mode-hook 'visual-line-mode) (add-hook 'notmuch-show-hook 'kj/disable-trailing-whitespace) (defun kj/confirm-empty-subject () -- cgit v1.2.3