X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/126528935bb71449df251970fe367849a62beb92..2ec331fcb08163313f9eb0490f7d7dbd6d9ded0a:/init.org diff --git a/init.org b/init.org index 42fba09..4e3ee52 100644 --- a/init.org +++ b/init.org @@ -750,7 +750,18 @@ customizing it. 'auto-compile-inhibit-compile-detached-git-head)) #+end_src -*** Org +*** [[https://orgmode.org/][Org]] + +#+begin_quote +Org mode is for keeping notes, maintaining TODO lists, planning +projects, and authoring documents with a fast and effective plain-text +system. +#+end_quote + +In short, my favourite way of life. + +First, we have to resort to a [[https://github.com/raxod502/straight.el#installing-org-with-straightel][hack]] to be able to use the correct +latest version of Org from upstream. #+begin_src emacs-lisp (use-package git) @@ -781,25 +792,21 @@ customizing it. "--abbrev=0" "HEAD"))))) - (provide 'org-version) - - (use-package org - :defer 0.8) ; or org-plus-contrib if desired +(provide 'org-version) #+end_src -*** COMMENT [[https://orgmode.org/][Org mode]] +We will use the =org-plus-contrib= package to get the whole deal: -#+begin_quote -Org mode is for keeping notes, maintaining TODO lists, planning -projects, and authoring documents with a fast and effective plain-text -system. -#+end_quote +#+begin_src emacs-lisp +(straight-use-package 'org-plus-contrib) +#+end_src -In short, my favourite way of life. +And here's where my actual Org configurations begin: #+begin_src emacs-lisp (use-package org - :defer 1 + :straight nil + :defer 0.5 :config (setq org-src-tab-acts-natively t org-src-preserve-indentation nil @@ -830,6 +837,7 @@ In short, my favourite way of life. '(org-latex-and-related ((t (:foreground "#b294bb"))))) (use-package ox-latex + :straight nil :after ox :config (setq org-latex-listings 'listings @@ -847,6 +855,7 @@ In short, my favourite way of life. t)) (use-package ox-beamer + :straight nil :after ox) (use-package orgalist