diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index ec19657..aad7ab4 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -18,10 +18,12 @@ (setq display-line-numbers-type `relative) (use-package! projectile + :defer t :config (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths (use-package! circe + :defer t :config (setq circe-network-options `( @@ -60,7 +62,7 @@ org-log-done 'note org-startup-with-inline-images t) -(use-package! org-protocol-capture-html) +(use-package! org-protocol-capture-html :defer t) (after! org (add-to-list 'org-capture-templates '("w" "Web site" entry @@ -86,6 +88,7 @@ ))) (use-package! mu4e + :defer t :config (setq sendmail-program "/usr/bin/msmtp" send-mail-function @@ -158,12 +161,12 @@ (add-hook 'mu4e-view-mode-hook 'visual-line-mode) (use-package! elfeed + :defer t :config (setq elfeed-use-curl t) (elfeed-set-timeout 36000) (setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid (elfeed-protocol-enable) - ; (defadvice elfeed (after configure-elfeed-feeds activate) "Make elfeed-org autotags rules works with elfeed-protocol." (defvar elfeed-protocol-tags) @@ -174,11 +177,13 @@ :autotags elfeed-protocol-tags))))) (use-package! elfeed-org + :defer t :config (setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org")) ) (use-package! elfeed-goodies + :defer t :config (elfeed-goodies/setup)) diff --git a/emacs/.config/doom/config.org b/emacs/.config/doom/config.org index e5820dd..7ebc103 100644 --- a/emacs/.config/doom/config.org +++ b/emacs/.config/doom/config.org @@ -68,6 +68,7 @@ ** Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search #+BEGIN_SRC emacs-lisp (use-package! projectile + :defer t :config (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths #+END_SRC @@ -75,6 +76,7 @@ ** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]]. #+BEGIN_SRC emacs-lisp (use-package! circe + :defer t :config (setq circe-network-options `( @@ -131,7 +133,7 @@ ** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]] *** Require package #+BEGIN_SRC emacs-lisp -(use-package! org-protocol-capture-html) +(use-package! org-protocol-capture-html :defer t) #+END_SRC ** org-capture-templates *** Capture web data for [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]] @@ -173,6 +175,7 @@ ** Setup mu4e with multiple profiles #+BEGIN_SRC emacs-lisp (use-package! mu4e + :defer t :config (setq sendmail-program "/usr/bin/msmtp" send-mail-function @@ -248,12 +251,12 @@ ** elfeed and [[https://github.com/fasheng/elfeed-protocol][elfeed-protocol]] to read feeds. #+BEGIN_SRC emacs-lisp (use-package! elfeed + :defer t :config (setq elfeed-use-curl t) (elfeed-set-timeout 36000) (setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid (elfeed-protocol-enable) - ; (defadvice elfeed (after configure-elfeed-feeds activate) "Make elfeed-org autotags rules works with elfeed-protocol." (defvar elfeed-protocol-tags) @@ -266,6 +269,7 @@ ** [[https://github.com/remyhonig/elfeed-org][elfeed-org]] #+BEGIN_SRC emacs-lisp (use-package! elfeed-org + :defer t :config (setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org")) ) @@ -273,6 +277,7 @@ ** [[https://github.com/algernon/elfeed-goodies][elfeed-goodies]] #+BEGIN_SRC emacs-lisp (use-package! elfeed-goodies + :defer t :config (elfeed-goodies/setup)) #+END_SRC