emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tried to use `org-agenda-top-headline-filter' in agenda block
@ 2014-04-22 21:46 Brady Trainor
  2014-04-23  6:12 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Brady Trainor @ 2014-04-22 21:46 UTC (permalink / raw)
  To: emacs-orgmode

Org-mode version 8.2.5h (8.2.5h-137-gc7812f-elpa @ 

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
  '("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"))

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),


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-29 12:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-22 21:46 Tried to use `org-agenda-top-headline-filter' in agenda block Brady Trainor
2014-04-23  6:12 ` Bastien
2014-04-26 14:45   ` Brady Trainor
2014-04-26 15:07     ` Brady Trainor
2014-04-29 12:15       ` Bastien

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).