emacs - org-mode agenda view
[dotfiles.git] / emacs.d / config.org
index 1f92827..2ec4ea9 100644 (file)
@@ -672,11 +672,18 @@ All captured file which need next actions are stored in =refile.org=,
 
   (setq org-refile-allow-creating-parent-nodes (quote confirm))
 #+END_SRC
-*** Agenda Setup
 
+*** Agenda Setup
+Setting agenda files and the agenda view
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (setq org-agenda-files (quote ("~/org/plan.org"
-                                 "~/org/test.org")))
+                                 "~/org/gtd.org"
+                                 "~/org/work.org")))
+
+  ;; only show today's tasks in agenda view
+  (setq org-agenda-span 'day)
+  ;; Use current windows for agenda view
+  (setq org-agenda-window-setup 'current-window)
 #+END_SRC
 
 ** Capture