From 08ecb4a7884b859d10e5af5b2cc8927332bad9cc Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Sun, 6 Nov 2016 18:22:54 +0000 Subject: [PATCH] Fix errors in mu4e config --- emacs/.emacs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/emacs/.emacs b/emacs/.emacs index ae2f654..b42e49a 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -129,10 +129,6 @@ (use-package yaml-mode :ensure t) - -(use-package wanderlust - :ensure t) - (use-package mu4e :config (setq @@ -152,8 +148,9 @@ :enter-func (lambda () (mu4e-message "Switch to Peronal context")) :match-func (lambda (msg) (when msg - mu4e-message-contact-field-matches msg - :to "max\+?.*@frie(dersdorff)?.com")) + (mu4e-message-contact-field-matches + msg (list :to :cc :bcc) + "max\\+?.*@frie\\(dersdorff\\)?.com"))) :vars '((user-mail-address . "max@friedersdorff.com") (user-full-name . "Maximilian Friedersdorff") (mu4e-sent-folder . "/personal/Sent") @@ -166,8 +163,9 @@ :enter-func (lambda () (mu4e-message "Switch to Gmail context")) :match-func (lambda (msg) (when msg - mu4e-message-contact-field-matches msg - :to "maxf130\+?.*@gmail.com")) + (mu4e-message-contact-field-matches + msg (list :to :cc :bcc) + "maxf130\\+?.*@gmail.com"))) :vars '((user-mail-address . "maxf130@gmail.com") (user-full-name . "Maximilian Friedersdorff") (mu4e-sent-folder . "/personal-gmail/Sent") @@ -180,8 +178,9 @@ :enter-func (lambda () (mu4e-message "Switch to Aber context")) :match-func (lambda (msg) (when msg - mu4e-message-contact-field-matches msg - :to "maf54\+?.*@aber.ac.uk")) + (mu4e-message-contact-field-matches + msg (list :to :cc :bcc) + "maf54\\+?.*@aber.ac.uk"))) :vars '((user-mail-address . "maf54@aber.ac.uk") (user-full-name . "Maximilian Friedersdorff") (mu4e-sent-folder . "/aber/Sent") -- 2.46.2