From dc70babfc3cc91a0d8107107344a7a1c2495c217 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 11 Jun 2021 18:33:19 +0200 Subject: [PATCH] [Emacs] mu4e-alert documentation and better config --- org/config/emacs.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index ac626ed..0237726 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1335,10 +1335,21 @@ the major-mode leader and call a simple function. (buffer-string)))))) #+end_src +**** Email alerts +There is also a package for mu4e which generates desktop notifications +when new emails are received. By default, I want to be notified by all +messages in my inbox and junk folder. Also, I’ll use Emacs’ default +notification system, and I’ll activate the modeline notification. #+begin_src emacs-lisp (use-package mu4e-alert :straight (:build t) - :after mu4e) + :defer t + :init + (add-hook 'after-init-hook #'mu4e-alert-enable-notifications) + (add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display) + (mu4e-alert-set-default-style 'notifications) + :config + (setq mu4e-alert-interesting-mail-query "<>")) #+end_src *** PDF Tools