summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-12-19 18:39:05 +0100
committerfpi2022-03-17 14:37:54 +0100
commit67ae5fd1922dcf6d44ca6f337126e810309022ef (patch)
treeb8c177ae66aa69583bf14fe1afd83844ab2da7a0
parentMake gnus articles use prose-mode (diff)
Extract straight recipe for org
-rw-r--r--emacs-init.org19
1 files changed, 15 insertions, 4 deletions
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
+ <<org-recipe>>
: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
+ <<org-recipe>>)
#+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
+ <<org-recipe>>
:custom
(org-expiry-handler-function 'org-expiry-archive-subtree)
(org-expiry-inactive-timestamps t)