fix(org): Correct path to org directory

This commit is contained in:
Judah Sotomayor 2024-08-29 15:12:17 -04:00
parent 7445fd6a74
commit 05ec198451
Signed by: judahsotomayor
SSH Key Fingerprint: SHA256:9Dq4ppxhfAjbX+7HLXEt+ROMiIojI6kqQgUyFUJb9lI

View File

@ -13,12 +13,11 @@ Perhaps in 10 years I will still be using it, but who knows.
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
#+end_src #+end_src
** Set name, org-roam-directory, etc. ** Set name, org-roam-directory, etc.
Some basic settings for Emacs Some basic settings for Emacs
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq tab-always-indent t) (setq tab-always-indent t)
(setq org-roam-directory "~/org/")
(setq user-full-name "Judah Sotomayor" (setq user-full-name "Judah Sotomayor"
user-mail-address "") user-mail-address "")
@ -29,7 +28,6 @@ Some basic settings for Emacs
:recipe (:host nil :type git :repo "https://git.freedomland.xyz/judahsotomayor/noctrlc")) :recipe (:host nil :type git :repo "https://git.freedomland.xyz/judahsotomayor/noctrlc"))
#+end_src #+end_src
* Theme and Font * Theme and Font
Set the theme. Set the theme.
/Use something dark/ /Use something dark/
@ -297,10 +295,10 @@ I don't want scheduled items to duplicate if the deadline is up.
(setq org-log-done 'time) (setq org-log-done 'time)
(after! org (after! org
(setq org-log-done 'time) (setq org-log-done 'time)
(setq org-archive-location "~/org/archive.sec.org.age") (setq org-archive-location "~/10-19-personal-projects/11-zettelkasten/archive.sec.org.age")
(setq org-hide-emphasis-markers nil)) (setq org-hide-emphasis-markers nil))
(setq org-directory "~/org/") (setq org-directory "~/10-19-personal-projects/11-zettelkasten/")
(setq org-roam-directory org-directory) (setq org-roam-directory org-directory)
#+end_src #+end_src
#+RESULTS: #+RESULTS:
@ -697,14 +695,16 @@ We want a general [[file:~/org/references.bib][bibliography file]], a [[file:~/Z
and a default set of styles. and a default set of styles.
*** Citar setup *** Citar setup
First of all, we must configure citar. First of all, we must configure citar.
#+begin_src elisp :tangle packages.el
(package! citar-org-roam)
#+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package! citar (use-package! citar
:ensure t
:demand t
:custom :custom
(citar-bibliography "~/org/references.bib") (citar-bibliography "~/10-19-personal-projects/11-zettelkasten/references.bib")
(citar-file-note-extensions '(".org")) (citar-file-note-extensions '(".org"))
(org-cite-global-bibliography '("~/org/references.bib")) (org-cite-global-bibliography '("~/10-19-personal-projects/11-zettelkasten/references.bib"))
(org-cite-csl-styles-dir (org-cite-csl-styles-dir
(expand-file-name "~/Zotero/styles/")) (expand-file-name "~/Zotero/styles/"))
@ -714,7 +714,6 @@ First of all, we must configure citar.
:hook :hook
(LaTeX-mode . citar-capf-setup) (LaTeX-mode . citar-capf-setup)
(org-mode . citar-capf-setup)) (org-mode . citar-capf-setup))
(citar-org-roam-mode)
#+end_src #+end_src
*** Icons for some prettification *** Icons for some prettification
@ -825,9 +824,8 @@ Ever wonder why code export sucks with \LaTeX ? Me neither! Let's fix it!
Org-roam enables features essential to a Zettelkasten such as inter-ID linking. Org-roam enables features essential to a Zettelkasten such as inter-ID linking.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package! org-roam (use-package! org-roam
:after md-roam :after md-roam)
:init (setq org-roam-directory "~/org/")) :custom
#+end_src #+end_src
I use several capture templates to make it easy to get notes into my various sections. I use several capture templates to make it easy to get notes into my various sections.
@ -1235,7 +1233,7 @@ SVGBob is an ASCII art renderer. It can do all kinds of nifty things with just a
* Archiving * Archiving
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-archive-location "/home/user/org/archive.sec.org.age::") (setq org-archive-location "/home/judah/10-19-personal-projects/11-zettelkasten/archive.sec.org.age::")
#+end_src #+end_src
* Init.el * Init.el
@ -1396,7 +1394,7 @@ I like to have all my config in one place.
;;nim ; python + lisp at the speed of c ;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!" ;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel ;;ocaml ; an objective camel
(org +roam2 +gnuplot +hugo +pomodoro +noter +present +pretty) ; organize your plain life in plain text (org +roam2 +gnuplot +pomodoro +noter +present +pretty) ; organize your plain life in plain text
;;php ; perl's insecure younger brother ;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more ;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional ;;purescript ; javascript, but functional