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)
(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))

View File

@ -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