From 9fbd6601035ae8ea71d8397cec622c17582a135d Mon Sep 17 00:00:00 2001 From: James Patrick Date: Tue, 20 Sep 2022 19:27:21 -0400 Subject: [PATCH] Reconfigured my org setup. --- emacs/+org.el | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/emacs/+org.el b/emacs/+org.el index 166e38a..655b7ed 100644 --- a/emacs/+org.el +++ b/emacs/+org.el @@ -3,7 +3,7 @@ (custom-set-variables '(org-directory "~/org/")) -(defvar +org-capture-work-todo-file "work/todo.org" +(defvar +org-capture-work-todo-file "Work/todo.org" "location for my work todo list. This is defined relative to the `org-directory' unless absolute.") @@ -17,13 +17,15 @@ If it is an absolute path return `+org-capture-work-todo-file' verbatim." (setq deft-directory org-directory org-download-image-dir (concat org-directory "resources") - org-roam-directory org-directory) + org-roam-directory (file-truename "~/org/Roam/")) + +(setq org-agenda-files (list (concat org-directory "Todos/"))) +;; (setq org-agenda-files (list +;; (concat org-directory +org-capture-work-todo-file ) +;; (concat org-directory "todo.org") +;; ) +;; ) -(setq org-agenda-files (list - (concat org-directory +org-capture-work-todo-file ) - (concat org-directory "todo.org") - ) - ) ;(org-agenda-files (file-expand-wildcards (concat org-directory "*". )"~/ref/*.org") ;; Automatically Scan normal locations code for projectes. ;; - `src` is used on my linux machine @@ -98,7 +100,7 @@ If it is an absolute path return `+org-capture-work-todo-file' verbatim." (file+headline +org-capture-work-todo-file "Inbox") "* [_] %?%i\n%a" :prepend t)) -(setq org-roam-directory "~/org/roam") +(setq org-roam-directory "~/org/Roam") (load! "org/+babel-diff")