From a97fadefaf7b86182de5fb6ed3d97c2f900c6d32 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 10 Nov 2021 23:05:36 +0000 Subject: wee gnus/message tweaks --- email.org | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'email.org') diff --git a/email.org b/email.org index 1232bbd..f02b605 100644 --- a/email.org +++ b/email.org @@ -5,7 +5,8 @@ * message mode *** Customization #+begin_src emacs-lisp - (defvar jao-mails "") + (defvar jao-mails) + (defvar jao-extra-mails) (defvar jao-mails-regexp) (setq jao-mails-regexp (regexp-opt jao-mails)) @@ -17,11 +18,12 @@ (setq password-cache-expiry nil) (setq message-generate-headers-first t) (setq message-forward-before-signature nil) - (setq message-alternative-emails jao-mails-regexp) + (setq message-alternative-emails + (regexp-opt (append jao-mails jao-extra-mails))) (setq message-dont-reply-to-names - (format "%s\\|%s" jao-mails-regexp (regexp-opt '("noreply@" "@noreply" - "no-reply@" "@no-reply" - "notifications@github")))) + (regexp-opt (append jao-mails '("noreply@" "@noreply" + "no-reply@" "@no-reply" + "notifications@github")))) (setq message-citation-line-format "On %a, %b %d %Y, %N wrote:\n") (setq message-citation-line-function 'message-insert-formatted-citation-line) -- cgit v1.2.3