Org-mode version 8.2.5h (8.2.5h-137-gc7812f-elpa @
/home/iam/.emacs.d/elpa/org-20140421/)
I tried to use `org-agenda-top-headline-filter'.
I have a tree as follows:
____
/
| * diary-sunrise, diary-sunset
| %%(diary-sunrise)
| %%(diary-sunset)
\____
The syntax I tried was:
(org-agenda-top-headline-filter "diary-sunrise, diary-sunset")
That is, in the following: (might need `(require 'org-agenda)'.)
#+BEGIN_SRC emacs-lisp
(org-add-agenda-custom-command
'("zs" "sunrise, sunset"
agenda ""
((org-agenda-files '("/e/org/zeus.org"))
(org-agenda-prefix-format "%t %s")
(org-agenda-span 'week)
(org-agenda-start-on-weekday nil)
(org-agenda-use-time-grid 'nil)
(org-agenda-top-headline-filter '("diary-sunrise, diary-sunset"))
)
))
#+END_SRC
I'm sure I could easily use a tag, category etc, but I like being able
to consider all the possibilities as I develop my agenda-views.
%%(Thank you always),
Brady