#+Title: a collection of examples for org-agenda tests * TODO should be visible CLOCK: [2010-01-01 Fri 10:00]--[2010-01-01 Fri 10:05] => 0:05 ob-agenda-test.org buffer should be narrowed after execution of this block #+BEGIN_SRC elisp :results silent (let ((org-agenda-files (list buffer-file-name))) (org-narrow-to-subtree) (org-agenda nil "t") (org-agenda-redo)) #+END_SRC #+BEGIN_SRC elisp :results silent (let ((org-agenda-files (list buffer-file-name))) (org-agenda nil "a") (org-agenda-clockreport-mode 1) (org-agenda-change-time-span 'year 2010) (org-agenda-day-view 1) ) #+END_SRC * TODO should be hidden CLOCK: [2010-02-01 Mon 10:00]--[2010-02-01 Mon 10:05] => 0:05