emacs - agenda view show today's task by default
authorPeng Li <seudut@gmail.com>
Tue, 28 Jun 2016 14:57:49 +0000 (22:57 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 28 Jun 2016 14:57:49 +0000 (22:57 +0800)
emacs.d/config.org

index 1f92827..1ab323a 100644 (file)
@@ -672,11 +672,19 @@ 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
 
 #+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")))
+#+END_SRC
+
+Only show today's view in agenda view by default
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+  (setq org-agenda-span 'day)
 #+END_SRC
 
 ** Capture