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)