1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

added :defer t to solve org-roam issue

This commit is contained in:
Ryan Kes 2020-10-23 09:52:13 +02:00
parent c534d5ccad
commit ab5aa97922
2 changed files with 14 additions and 4 deletions

View File

@ -18,10 +18,12 @@
(setq display-line-numbers-type `relative) (setq display-line-numbers-type `relative)
(use-package! projectile (use-package! projectile
:defer t
:config :config
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths
(use-package! circe (use-package! circe
:defer t
:config :config
(setq circe-network-options (setq circe-network-options
`( `(
@ -60,7 +62,7 @@
org-log-done 'note org-log-done 'note
org-startup-with-inline-images t) org-startup-with-inline-images t)
(use-package! org-protocol-capture-html) (use-package! org-protocol-capture-html :defer t)
(after! org (after! org
(add-to-list 'org-capture-templates '("w" "Web site" entry (add-to-list 'org-capture-templates '("w" "Web site" entry
@ -86,6 +88,7 @@
))) )))
(use-package! mu4e (use-package! mu4e
:defer t
:config :config
(setq sendmail-program "/usr/bin/msmtp" (setq sendmail-program "/usr/bin/msmtp"
send-mail-function send-mail-function
@ -158,12 +161,12 @@
(add-hook 'mu4e-view-mode-hook 'visual-line-mode) (add-hook 'mu4e-view-mode-hook 'visual-line-mode)
(use-package! elfeed (use-package! elfeed
:defer t
:config :config
(setq elfeed-use-curl t) (setq elfeed-use-curl t)
(elfeed-set-timeout 36000) (elfeed-set-timeout 36000)
(setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid (setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid
(elfeed-protocol-enable) (elfeed-protocol-enable)
;
(defadvice elfeed (after configure-elfeed-feeds activate) (defadvice elfeed (after configure-elfeed-feeds activate)
"Make elfeed-org autotags rules works with elfeed-protocol." "Make elfeed-org autotags rules works with elfeed-protocol."
(defvar elfeed-protocol-tags) (defvar elfeed-protocol-tags)
@ -174,11 +177,13 @@
:autotags elfeed-protocol-tags))))) :autotags elfeed-protocol-tags)))))
(use-package! elfeed-org (use-package! elfeed-org
:defer t
:config :config
(setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org")) (setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org"))
) )
(use-package! elfeed-goodies (use-package! elfeed-goodies
:defer t
:config :config
(elfeed-goodies/setup)) (elfeed-goodies/setup))

View File

@ -68,6 +68,7 @@
** Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search ** Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! projectile (use-package! projectile
:defer t
:config :config
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths
#+END_SRC #+END_SRC
@ -75,6 +76,7 @@
** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]]. ** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]].
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! circe (use-package! circe
:defer t
:config :config
(setq circe-network-options (setq circe-network-options
`( `(
@ -131,7 +133,7 @@
** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]] ** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]]
*** Require package *** Require package
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! org-protocol-capture-html) (use-package! org-protocol-capture-html :defer t)
#+END_SRC #+END_SRC
** org-capture-templates ** org-capture-templates
*** Capture web data for [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]] *** 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 ** Setup mu4e with multiple profiles
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! mu4e (use-package! mu4e
:defer t
:config :config
(setq sendmail-program "/usr/bin/msmtp" (setq sendmail-program "/usr/bin/msmtp"
send-mail-function send-mail-function
@ -248,12 +251,12 @@
** elfeed and [[https://github.com/fasheng/elfeed-protocol][elfeed-protocol]] to read feeds. ** elfeed and [[https://github.com/fasheng/elfeed-protocol][elfeed-protocol]] to read feeds.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! elfeed (use-package! elfeed
:defer t
:config :config
(setq elfeed-use-curl t) (setq elfeed-use-curl t)
(elfeed-set-timeout 36000) (elfeed-set-timeout 36000)
(setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid (setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid
(elfeed-protocol-enable) (elfeed-protocol-enable)
;
(defadvice elfeed (after configure-elfeed-feeds activate) (defadvice elfeed (after configure-elfeed-feeds activate)
"Make elfeed-org autotags rules works with elfeed-protocol." "Make elfeed-org autotags rules works with elfeed-protocol."
(defvar elfeed-protocol-tags) (defvar elfeed-protocol-tags)
@ -266,6 +269,7 @@
** [[https://github.com/remyhonig/elfeed-org][elfeed-org]] ** [[https://github.com/remyhonig/elfeed-org][elfeed-org]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! elfeed-org (use-package! elfeed-org
:defer t
:config :config
(setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org")) (setq rmh-elfeed-org-files '("~/Documents/org/elfeed.org"))
) )
@ -273,6 +277,7 @@
** [[https://github.com/algernon/elfeed-goodies][elfeed-goodies]] ** [[https://github.com/algernon/elfeed-goodies][elfeed-goodies]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package! elfeed-goodies (use-package! elfeed-goodies
:defer t
:config :config
(elfeed-goodies/setup)) (elfeed-goodies/setup))
#+END_SRC #+END_SRC