From 334c77c6b9e0ffce5aeb1687a3995a9b1a7c3d02 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 16 Apr 2014 23:19:56 -0400 Subject: Try out new system for defining Org agenda files Define based on directories rather than individual files. --- lisp/init-org.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/init-org.el b/lisp/init-org.el index 2c71c88..6096eda 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -167,16 +167,17 @@ be restored properly." (setq org-agenda-restore-windows-after-quit t org-agenda-sticky nil) -(setq org-agenda-files '("~/notes/calendar.org" "~/notes/tasks.org") - org-default-notes-file "~/notes/tasks.org" - org-agenda-text-search-extra-files '("~/notes/backburner.org" - "~/notes/misc.org") +(setq org-default-notes-file "~/notes/tasks.org" + org-agenda-files '("~/notes/agenda") org-agenda-show-all-dates t org-agenda-skip-deadline-if-done t org-agenda-skip-scheduled-if-done t org-agenda-start-on-weekday nil org-reverse-note-order t) +(setq org-agenda-text-search-extra-files + (file-expand-wildcards "~/notes/extra/*.org")) + (setq org-agenda-custom-commands '(("d" todo "DONE" nil) ("u" "Unschedule TODO entries" alltodo "" -- cgit v1.2.3