From 078fc883b2453a8f30a40c87c354c836614baab0 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 22 Aug 2024 10:23:27 +0200 Subject: emacs: more clean ups from old mail configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .config/doom/config.el | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to '.config/doom') diff --git a/.config/doom/config.el b/.config/doom/config.el index bf42ed5..415db2d 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -2,21 +2,11 @@ ;;; Basic information. -(defconst mssola-data-dir "/home/mssola/data" - "Directory located in a big partition where I dump a lot of crap.") - ;; There are some packages that expect us to have a `user-full-name' and a ;; `user-mail-address' defined. (setq user-full-name "Miquel Sabaté Solà" user-mail-address "mikisabate@gmail.com") -;;; General utility functions. - -(defun mssola/email-p () - "Returns true if the current machine is where my email lives." - - (string= (system-name) "lair")) - ;;; General ;; Bindings for managing windows, buffers, etc. @@ -260,12 +250,9 @@ (user-mail-address . "msabate@suse.com")) nil) -;; My main account is properly accounted as a gmail one, but the UOC one is not. -;; Let's add it here (we need to have them all listed). -(setq +mu4e-gmail-accounts '(("mikisabate@gmail.com" . "/gmail"))) - ;; Colorize patch-based emails -(add-hook 'gnus-part-display-hook 'message-view-patch-highlight) +(after! message-view-patch + (add-hook 'gnus-part-display-hook 'message-view-patch-highlight)) ;; Last but not least, let's configure PGP with mu4e. (setq mml-secure-openpgp-signers '("0x96BE8C6FD89D6565") -- cgit v1.2.3