From 38930cbd61ac938253bb4a0b98e88137eb9bc8bd Mon Sep 17 00:00:00 2001 From: josiah Date: Sat, 4 Sep 2021 16:37:24 -0500 Subject: [PATCH] Move to new dhd format. --- .emacs.d/jlj-generic.el | 6 +++--- .emacs.d/jlj-org.el | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.emacs.d/jlj-generic.el b/.emacs.d/jlj-generic.el index b333b43..23ffc3a 100644 --- a/.emacs.d/jlj-generic.el +++ b/.emacs.d/jlj-generic.el @@ -31,8 +31,8 @@ (setq indent-tabs-mode nil) ; always use spaces when indenting (setq require-final-newline t) -(setq backup-directory-alist `(("." . "~/Sync/Documents/org/.saves"))) -(find-file "~/Sync/Documents/org/personal.org") ;open primary org file on launch +(setq backup-directory-alist `(("." . "~/dhd/org/.saves"))) +(find-file "~/dhd/org/personal.org") ;open primary org file on launch (electric-pair-mode 1) ; create paired brackets. ;; themes @@ -89,7 +89,7 @@ (find-file-other-window user-init-file)) (global-set-key (kbd "C-c J") 'find-user-init-file) -(setq user-home-file "~/Sync/Documents/org/personal.org") +(setq user-home-file "~/dhd/org/personal.org") (defun find-user-home-file () "Edit the `user-home-file' in this window." (interactive) diff --git a/.emacs.d/jlj-org.el b/.emacs.d/jlj-org.el index 533a716..0febd25 100644 --- a/.emacs.d/jlj-org.el +++ b/.emacs.d/jlj-org.el @@ -45,7 +45,7 @@ (setq org-columns-default-format '(("%25ITEM %TODO %3PRIORITY %TAGS"))) ;; have to add _archive or beorg throws a fit!!! it doesn't work on tags the dumby! - (setq org-archive-location "~/Sync/Documents/org/archive.org_archive::* From %s") + (setq org-archive-location "~/dhd/org/archive.org_archive::* From %s") ;;;; custom org mode hotkeys @@ -59,15 +59,15 @@ (org-agenda-files :maxlevel . 9))) (setq org-outline-path-complete-in-steps nil) ; Refile in a single go (setq org-refile-use-outline-path t) ; Show full paths for refiling - (setq org-agenda-files '("~/Sync/Documents/org/")) ; add files to agenda + (setq org-agenda-files '("~/dhd/org/")) ; add files to agenda (find-file-noselect "~/Documents/projects/molly/data/matrix-refile.org") - (setq org-agenda-files (list "~/Sync/Documents/org" + (setq org-agenda-files (list "~/dhd/org" "~/Documents/projects/molly/data/matrix-refile.org")) (with-current-buffer "matrix-refile.org" (auto-revert-mode)) - (setq org-directory "~/Sync/Documents/org/") ; define generic org capture shit + (setq org-directory "~/dhd/org/") ; define generic org capture shit (setq org-default-notes-file (concat org-directory "/refile-beorg.org")))) ;; setup special block extras! @@ -77,7 +77,7 @@ :custom ;; The places where I keep my ‘#+documentation’ (org-special-block-extras--docs-libraries - '("~/Sync/Documents/org/documentation.org")) + '("~/dhd/org/documentation.org")) ;; Disable the in-Emacs fancy-links feature? ;; (org-special-block-extras-fancy-links nil) ;; Details heading “flash pink” whenever the user hovers over them? @@ -107,16 +107,16 @@ (setq org-protocol-default-template-key "w") (setq org-capture-templates - `(("w" "Web site" entry (file+olp "~/Sync/Documents/org/webwiki.org" "links" "unsorted") + `(("w" "Web site" entry (file+olp "~/dhd/org/webwiki.org" "links" "unsorted") "* %c :website:\n%U %?%:initial") ;; ... more templates here ... - ("b" "Book - capture a book you've read" entry (file+olp "~/Sync/Documents/org/webwiki.org" "books") + ("b" "Book - capture a book you've read" entry (file+olp "~/dhd/org/webwiki.org" "books") "* %^{TITLE} \n :PROPERTIES:\n:AUTHOR: %^{AUTHOR}\n:GENRE: %^{GENRE}\n:FINISHED: %U \n:END:\n " :empty-lines 1 :prepend t) - ("c" "Context-include Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") + ("c" "Context-include Todo" entry (file "~/dhd/org/refile-beorg.org") "* TODO %?\n%U \n '%a'" :empty-lines 1 :prepend t) - ("q" "quotes" entry (file+olp "~/Sync/Documents/org/webwiki.org" "quotes") + ("q" "quotes" entry (file+olp "~/dhd/org/webwiki.org" "quotes") "* %?\n%U \n " :empty-lines 1 :prepend t) - ("t" "Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") + ("t" "Todo" entry (file "~/dhd/org/refile-beorg.org") "* TODO %?\n%U" :empty-lines 1 :prepend t))) ;; configure org exporters @@ -172,7 +172,7 @@ dependency: this relies on imagemagick" (setq org-caldav-url "https://caldav.fastmail.com/dav/calendars/user/me@jowj.net/") (setq org-caldav-calendars '((:calendar-id "654a6e55-b777-4603-b009-0058d35aa5ca" - :inbox "~/Sync/Documents/org/fromworkcal.org"))) + :inbox "~/dhd/org/fromworkcal.org"))) (setq org-icalendar-timezone "America/Chicago"))