[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Tried to use `org-agenda-top-headline-filter' in agenda block
From: |
Brady Trainor |
Subject: |
[O] Tried to use `org-agenda-top-headline-filter' in agenda block |
Date: |
Tue, 22 Apr 2014 14:46:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
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
- [O] Tried to use `org-agenda-top-headline-filter' in agenda block,
Brady Trainor <=