Disable org-mu4e

This commit is contained in:
Alexander Rosenberg 2025-01-06 15:23:34 -08:00
parent 9a9a707a10
commit 21d861dbd0
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

48
init.el
View File

@ -2532,30 +2532,30 @@ The name is compared with the field name using TESTFN (defaults to `equal')."
;; mu4e compose HTML messages ;; mu4e compose HTML messages
(use-package org-mime) (use-package org-mime)
(require 'org-mu4e-compose) (require 'org-mu4e-compose)
(setq mail-user-agent 'org-mu4e-user-agent (setq ;; mail-user-agent 'org-mu4e-user-agent
org-mime-org-html-with-latex-default 'dvisvgm org-mime-org-html-with-latex-default 'dvisvgm
org-mime-export-options '(:with-latex dvisvgm :with-footnotes t)) org-mime-export-options '(:with-latex dvisvgm :with-footnotes t))
(evil-define-key '(normal visual) org-mu4e-compose-mode-map ;; (evil-define-key '(normal visual) org-mu4e-compose-mode-map
"G" #'mu4e-compose-goto-bottom ;; "G" #'mu4e-compose-goto-bottom
"gg" #'mu4e-compose-goto-top) ;; "gg" #'mu4e-compose-goto-top)
(evil-define-key 'normal org-mu4e-compose-mode-map ;; (evil-define-key 'normal org-mu4e-compose-mode-map
"ZZ" #'message-send-and-exit ;; "ZZ" #'message-send-and-exit
"ZD" #'message-dont-send ;; "ZD" #'message-dont-send
"ZQ" #'message-kill-buffer ;; "ZQ" #'message-kill-buffer
"ZF" #'mml-attach-file) ;; "ZF" #'mml-attach-file)
(evil-define-key 'normal mu4e-view-mode-map ;; (evil-define-key 'normal mu4e-view-mode-map
"R" 'org-mu4e-compose-reply ;; "R" 'org-mu4e-compose-reply
"cr" 'org-mu4e-compose-reply) ;; "cr" 'org-mu4e-compose-reply)
(evil-define-key 'normal mu4e-headers-mode-map ;; (evil-define-key 'normal mu4e-headers-mode-map
"R" 'org-mu4e-compose-reply ;; "R" 'org-mu4e-compose-reply
"cr" 'org-mu4e-compose-reply) ;; "cr" 'org-mu4e-compose-reply)
(defun my/-setup-org-mu4e-compose-mode () ;; (defun my/-setup-org-mu4e-compose-mode ()
"Setup up stuff in `org-mu4e-compose' buffers." ;; "Setup up stuff in `org-mu4e-compose' buffers."
(setq-local ltex-eglot-variable-save-method 'file) ;; (setq-local ltex-eglot-variable-save-method 'file)
;; this should come last so it can pick up the above ;; ;; this should come last so it can pick up the above
;; (trusted-files-eglot-ensure-if-safe) ;; ;; (trusted-files-eglot-ensure-if-safe)
) ;; )
(add-hook 'org-mu4e-compose-mode-hook #'my/-setup-org-mu4e-compose-mode) ;; (add-hook 'org-mu4e-compose-mode-hook #'my/-setup-org-mu4e-compose-mode)
;; elfeed ;; elfeed
(use-package elfeed (use-package elfeed