summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-16 23:19:56 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-16 23:19:56 -0400
commit334c77c6b9e0ffce5aeb1687a3995a9b1a7c3d02 (patch)
tree0047371f6821e6df1550ef11bd170af7552077c8 /lisp
parentd2ed8d93e1a455f01ee0251440130ea7b4800193 (diff)
downloademacs.d-334c77c6b9e0ffce5aeb1687a3995a9b1a7c3d02.tar.gz
Try out new system for defining Org agenda files
Define based on directories rather than individual files.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el9
1 files 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 ""