From 67ae5fd1922dcf6d44ca6f337126e810309022ef Mon Sep 17 00:00:00 2001 From: fpi Date: Sat, 19 Dec 2020 18:39:05 +0100 Subject: Extract straight recipe for org --- emacs-init.org | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'emacs-init.org') diff --git a/emacs-init.org b/emacs-init.org index 0b407fb..643d640 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3163,9 +3163,17 @@ Hansen's]] configs. - Align tags left :: Fixes problems with line breaking on small window width. +I use a org version with some custom patches. Rather than using something like =el-patch=, I host my version on github for now and update it every so often. This recipe for org is used in all coming =straight.el= calls. +#+begin_src emacs-lisp :noweb-ref org-recipe :tangle no +(org-plus-contrib :host github :repo "fpiper/org-mode" :branch "develop" + ;;:local-repo "org" :files (:defaults "contrib/lisp/*.el") + ) +#+end_src + #+begin_src emacs-lisp (use-package org - :straight (org-plus-contrib :host github :repo "fpiper/org-mode" :branch "develop" :local-repo "org" :files (:defaults "contrib/lisp/*.el")) + :straight + <> :delight (org-cdlatex-mode) :bind (("C-c c" . org-capture) @@ -3678,7 +3686,8 @@ print the list. #+begin_src emacs-lisp (use-package org-checklist :after org - :straight (org-plus-contrib)) + :straight + <>) #+end_src *** Handling web urls **** org-web-tools @@ -3909,7 +3918,8 @@ Org-roam mainly provides a display of backlinks to the current file. This allows Overwriting ~org-roam--file-link-face~ is a crude fix for hanging emacs. The original function calls file-exist-p which opens a slow tramp connection. **** org-roam-protocol #+begin_src emacs-lisp -(use-package org-roam-protocol) +(use-package org-roam-protocol + :after org-roam) #+end_src **** org-roam-bibtex #+begin_src emacs-lisp @@ -4304,7 +4314,8 @@ CLOSED: %\\1 #+begin_src emacs-lisp (use-package org-expiry :after org - :straight (org-plus-contrib) + :straight + <> :custom (org-expiry-handler-function 'org-expiry-archive-subtree) (org-expiry-inactive-timestamps t) -- cgit v1.2.3