2 Commits

Author SHA1 Message Date
Marc 4f6a17e228 added mu4e-dashboard 2 months ago
Marc 8fc93895e1 added 'use-feature' 2 months ago
1 changed files with 45 additions and 2 deletions
Unified View
  1. 47
      config.org

47
config.org

@ -194,6 +194,20 @@ Boilerplate for Elpaca
(elpaca-wait) (elpaca-wait)
#+end_src #+end_src
stolen from
https://github.com/progfolio/.emacs.d/blob/cff07d4454d327a4df1915a2cdf8ac6bc5dfde23/init.org?plain=1#L276
usage e.g. here. Not sure though what the benefits are
https://github.com/justinbarclay/.emacs.d
#+begin_src emacs-lisp
(defmacro use-feature (name &rest args)
"Like `use-package' but accounting for asynchronous installation.
NAME and ARGS are in `use-package'."
(declare (indent defun))
`(use-package ,name
:ensure nil
,@args))
#+end_src
* use-package keywords general / diminish * use-package keywords general / diminish
Needs to be loaded before any other package which uses the :general keyword Needs to be loaded before any other package which uses the :general keyword
@ -963,10 +977,12 @@ mu index
#+begin_src emacs-lisp #+begin_src emacs-lisp
;(use-package notmuch ;(use-package notmuch
; :ensure t) ; :ensure t)
(use-package mu4e
(use-feature mu4e
:if *sys/linux* :if *sys/linux*
:ensure nil
; :ensure nil
:after (org) :after (org)
:init
(require 'mu4e)
:config :config
;; this is set to 't' to avoid mail syncing issues when using mbsync ;; this is set to 't' to avoid mail syncing issues when using mbsync
(setq mu4e-change-filenames-when-moving t) (setq mu4e-change-filenames-when-moving t)
@ -1021,6 +1037,33 @@ mu index
) )
#+end_src #+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 * outlook
In outlook a macro is necessary, also a reference to FM20.DLL In outlook a macro is necessary, also a reference to FM20.DLL
(Microsoft Forms 2.0 Object Library, in c:\windows\syswow64\fm20.dll) (Microsoft Forms 2.0 Object Library, in c:\windows\syswow64\fm20.dll)

Loading…
Cancel
Save