From 34565ddb9fc74675b28ce19694485cf2e91eba20 Mon Sep 17 00:00:00 2001 From: Daniel Fleischer Date: Tue, 7 Feb 2023 22:42:51 +0200 Subject: [PATCH] Custom in use-package --- README.org | 14 +++++++++++--- mu4easy.el | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 24109b2..f5de6f4 100644 --- a/README.org +++ b/README.org @@ -14,15 +14,23 @@ Install locally and use the =load-path= variable, e.g.: :config (mu4easy-mode)) #+end_src -Or install with Melpa, e.g.: +Or install with Melpa. Here is an example with one email account: #+begin_src elisp (use-package mu4easy :ensure t :bind ("C-c u" . mu4e) - :config (mu4easy-mode)) + :config (mu4easy-mode) + :custom + (mu4easy-contexts '((mu4easy-context + :c-name "Google" + :maildir "Gmail" + :mail "a@gmail.com" + :smtp "smtp.gmail.com" + :sent-action delete)))) #+end_src +See later more details on the =mu4easy-context= macro. -Also, have =mu= in your in PATH. +Make sure you have =mu= in your in PATH. - mbsync Configuration - [[#Google][Google]] diff --git a/mu4easy.el b/mu4easy.el index 89bb882..d59c059 100644 --- a/mu4easy.el +++ b/mu4easy.el @@ -279,7 +279,7 @@ See variable `mu4e-headers-fields'" ;; Mail Identities ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defcustom mu4easy-contexts - `((mu4easy-context + '((mu4easy-context :c-name "Google" :maildir "Gmail" :mail "a@gmail.com"