Update org file paths

Remove my/open-tasks-file function & bind
This commit is contained in:
Evie Litherland-Smith 2024-09-09 07:33:03 +01:00
parent ef67f76b24
commit cdf049bb4d

View file

@ -604,7 +604,7 @@ Configure email with iCalendar event support, to integrate with
(use-package gnus-icalendar
:after (org-agenda)
:custom
(gnus-icalendar-org-capture-file (expand-file-name "calendar/email.org.gpg" org-directory))
(gnus-icalendar-org-capture-file (expand-file-name "calendar/email.org" org-directory))
(gnus-icalendar-org-capture-headline '("Inbox"))
:config
(require 'org-agenda)
@ -826,7 +826,7 @@ Configure email with iCalendar event support, to integrate with
:custom
(org-directory "~/Documents/org")
(org-default-notes-file (expand-file-name "notes.org" org-directory))
(org-archive-location (concat (expand-file-name "archive.org.gpg" org-directory) "::datetree/"))
(org-archive-location (concat (expand-file-name "archive.org" org-directory) "::datetree/"))
(org-hide-emphasis-markers t)
(org-use-sub-superscripts '{})
(org-pretty-entities t)
@ -923,10 +923,10 @@ Configure email with iCalendar event support, to integrate with
:bind (("C-c n" . org-capture))
:custom (org-capture-templates
'(("t" "TODO" entry
(file+olp "tasks.org.gpg" "Inbox")
(file+olp "tasks.org" "Inbox")
"* TODO %?\nDEADLINE: %t\n %i\n %a")
("#" "used by gnus-icalendar-org" entry
(file+olp "calendar/email.org.gpg" "Inbox")
(file+olp "calendar/email.org" "Inbox")
"%i" :immediate-finish t))))
(when (or (package-installed-p 'emacsql-sqlite)
@ -972,7 +972,7 @@ Configure email with iCalendar event support, to integrate with
(org-roam-dailies-capture-templates
'(("d" "default" entry
"* %?"
:target (file+datetree "journal.org.gpg" week)))))
:target (file+datetree "journal.org" week)))))
(use-package org-clock
:after org
@ -1001,7 +1001,7 @@ Configure email with iCalendar event support, to integrate with
(org-agenda-sticky nil)
(org-agenda-window-setup 'current-window)
(org-agenda-tags-column 0)
(org-agenda-diary-file (expand-file-name "calendar/diary.org.gpg" org-directory))
(org-agenda-diary-file (expand-file-name "calendar/diary.org" org-directory))
(org-agenda-include-diary nil)
(org-agenda-include-deadlines t)
(org-agenda-todo-ignore-scheduled 'future)
@ -1017,7 +1017,7 @@ Configure email with iCalendar event support, to integrate with
(org-agenda-files (list
(expand-file-name org-directory)
(expand-file-name "calendar" org-directory)
(expand-file-name "roam/journal.org.gpg" org-directory)
(expand-file-name "roam/journal.org" org-directory)
(expand-file-name "roam/analysis_notes.org" org-directory)))
:config
(appt-activate +1))
@ -1679,13 +1679,6 @@ Configure email with iCalendar event support, to integrate with
(find-file org-directory))
(keymap-global-set "C-c w o" #'my/open-org-directory)
(defun my/open-tasks-file ()
"Open tasks org file."
(interactive)
(require 'org)
(find-file (expand-file-name "tasks.org.gpg" org-directory)))
(keymap-global-set "C-c w C-o" #'my/open-tasks-file)
(defun my/open-global-bibliography ()
"Open `org-cite-global-bibliography'."
(interactive)