From 4f6a17e2287cfc3f97e56fd09875ca3d04535711 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 16 Jul 2024 11:48:17 +0200 Subject: [PATCH] added mu4e-dashboard --- config.org | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 675392e..311e4f0 100644 --- a/config.org +++ b/config.org @@ -977,10 +977,12 @@ mu index #+begin_src emacs-lisp ;(use-package notmuch ; :ensure t) -(use-package mu4e +(use-feature mu4e :if *sys/linux* - :ensure nil +; :ensure nil :after (org) + :init + (require 'mu4e) :config ;; this is set to 't' to avoid mail syncing issues when using mbsync (setq mu4e-change-filenames-when-moving t) @@ -1035,6 +1037,33 @@ mu index ) #+end_src +mu4e-dashboard +https://github.com/rougier/mu4e-dashboard + +#+begin_src emacs-lisp +(push 'mu4e elpaca-ignored-dependencies) + +(use-package mu4e-dashboard + :if *sys/linux* + :ensure (:host github :repo "rougier/mu4e-dashboard") + :after mu4e + :hook + (mu4e-dashboard-mode . (lambda () (display-line-numbers-mode -1))) + :custom + (mu4e-dashboard-file (concat MY--PATH_USER_GLOBAL "mu4e-dashboard.org")) + :config +; (require 'mu4e) + (defun mu4e-dashboard-edit () + (interactive) + (let ((edit-buffer "*edit-mu4e-dashboard*")) + (when (get-buffer edit-buffer) + (kill-buffer (get-buffer edit-buffer))) + (make-indirect-buffer (current-buffer) edit-buffer) + (switch-to-buffer-other-window (get-buffer edit-buffer)) + (org-mode 1))) + (display-line-numbers-mode -1) + (flyspell-mode -1)) +#+end_src * outlook In outlook a macro is necessary, also a reference to FM20.DLL (Microsoft Forms 2.0 Object Library, in c:\windows\syswow64\fm20.dll)