diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/modules/bd--org.el | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/.config/emacs/modules/bd--org.el b/.config/emacs/modules/bd--org.el index 9ecb571..3fefccb 100644 --- a/.config/emacs/modules/bd--org.el +++ b/.config/emacs/modules/bd--org.el @@ -51,7 +51,7 @@ (setopt org-latex-toc-command "\\tableofcontents \\clearpage" org-latex-src-block-backend 'listings org-latex-image-default-width ".6\\linewidth" - org-latex-compiler "xelatex" + org-latex-compiler "pdflatex" org-export-with-toc nil org-export-preserve-breaks nil org-latex-classes @@ -120,8 +120,6 @@ :config (advice-add 'org-refile :after 'org-save-all-org-buffers) - (defvar-local agenda-file "~/dc/agenda/agenda_tasks.org") - (defvar-local bd/course-list '(("501" . ?0) ("535" . ?3) @@ -169,29 +167,19 @@ representing all the tags ORd or ANDed together." ("reading" . ?r) ,@bd/course-list) - org-refile-targets '(("archived_tasks.org" :maxlevel . 1) - ("agenda_tasks.org" :maxlevel . 1)) - org-agenda-files `(,agenda-file "~/dc/agenda/archived_tasks.org") + org-directory "~/dc/agenda/" + + org-agenda-files (list org-directory) + org-refile-use-outline-path 'file + org-refile-targets '((org-agenda-files :level . 0)) org-capture-templates - `(("c" " College") - ("cl" "Formal Language Theory" entry (file+olp ,agenda-file "CS501") - "* TODO %?\n DEADLINE: %^t") - ("ca" "Computer Architecture" entry (file+olp ,agenda-file "CS535") - "* TODO %?\n DEADLINE: %^t") - ("ce" "Reverse Engineering" entry (file+olp ,agenda-file "CS590") - "* TODO %?\n DEADLINE: %^t") - ("s" " Self") - ("si" "Idea" entry (file+olp ,agenda-file "Idea / Return") - "* TODO %?\n %u") - ("sc" "Context" entry (file+olp ,agenda-file "Idea / Return") - "* TODO %?\n %a") - ("st" "Deadline" entry (file+olp ,agenda-file "Deadline") - "* TODO %?\n DEADLINE: %^t") - ("sb" "Book" entry (file+olp ,agenda-file "Book List") - "* TODO %?\n %u"))) + `(("t" "Task Entry" entry + (file ,(concat org-directory "inbox.org")) + "* %?\n:PROPERTIES:\n:CREATED:%U\n:END:\n%i\nrecorded visiting: %a" + :empty-lines 1))) (let ((orphan-view '(tags-todo "-{.*}" - ((org-agenda-overriding-header "\nOrphaned Items\n"))))) + ((org-agenda-overriding-header "\nUnfiltered Items\n"))))) (setopt org-agenda-custom-commands `(("c" "Chores" ((agenda "" ((org-agenda-entry-types '(:deadline)) |