From a809abd3b6465aa3b6f1476779e7434aa82159b6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 25 Jan 2021 16:54:01 -0600 Subject: Configure Agenda Still more to do. --- config.org | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index d7e4ba1..e088f46 100644 --- a/config.org +++ b/config.org @@ -1825,17 +1825,16 @@ I fix the headline spacing every time I save. ** Org Agenda +*** Basic Agenda Settings + #+begin_src emacs-lisp :noweb-ref settings - (setq-default org-agenda-files - (list - (expand-file-name "inbox.org" org-directory) - (expand-file-name "home.org" org-directory) - (expand-file-name "work.org" org-directory)) + (setq-default org-agenda-files ; look for files in ~/org + (list org-directory) ;; agenda org-agenda-span 5 org-agenda-skip-scheduled-if-done t org-agenda-skip-deadline-if-done t - org-deadline-warning-days 0 + org-deadline-warning-days 2 ;; logging org-log-into-drawer "LOGBOOK" org-log-done t) @@ -1845,6 +1844,25 @@ I fix the headline spacing every time I save. (define-key acdw/leader (kbd "C-a") #'org-agenda) #+end_src +*** Calendar settings + +I'm not sure where else to put these, to be honest. + +#+begin_src emacs-lisp :noweb-ref settings + (setq-default calendar-date-style 'iso) ; YYYY-mm-dd +#+end_src + +*** Habits + +Org can track habits! Great stuff. I need to add it to =org-modules=, +though. + +#+begin_src emacs-lisp :noweb-ref settings + (add-to-list 'org-modules 'org-habit) +#+end_src + +Now I just add a =habit= property to a subtree, and BAM! + *** Org Todo Keywords These need some more thinking -- e.g., the MEETING sequence should -- cgit 1.4.1-21-gabe81