emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: emacs-orgmode@gnu.org
Subject: Tried to use `org-agenda-top-headline-filter' in agenda block
Date: Tue, 22 Apr 2014 14:46:35 -0700	[thread overview]
Message-ID: <lj6nvs$8vh$1@ger.gmane.org> (raw)

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


             reply	other threads:[~2014-04-22 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 21:46 Brady Trainor [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lj6nvs$8vh$1@ger.gmane.org' \
    --to=algebrat@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Tried to use `org-agenda-top-headline-filter'\'' in agenda block' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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