emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using org-agenda-filter-preset with or'd tags
@ 2010-12-20 14:12 johnt
  2011-01-09 13:58 ` David Maus
  0 siblings, 1 reply; 7+ messages in thread
From: johnt @ 2010-12-20 14:12 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to set a custom command to show my work tasks and critical home
tasks for the day.

I have tried the following.

(setq org-agenda-custom-commands

      '(

        ("W" "Work Schedule" 

         (

          (agenda "" 

           (

            (org-agenda-filter-preset '("@Work|critical"))   ;; this doesn't work

            (org-agenda-ndays 1)

           )

          )

          (tags-todo "@Work|critical")

         )

        )

)

It seems just to ignore the filter. The tags-todo line works fine.

I tried various filters to verify my syntax.  
using (org-agenda-filter-preset '("+@Work")) works fine but is not what I want.
using (org-agenda-filter-preset '("@Work" "|" "critical")) also doesn't work.

As a side note when I print the agenda it seems to ignore the filter I set with
[/][-][tab]tag.  The printed version has the items not shown on screen.

using GNU Emacs 23.2.1 - ORG 7.4

Thank-you

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

end of thread, other threads:[~2011-01-11 23:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 14:12 Using org-agenda-filter-preset with or'd tags johnt
2011-01-09 13:58 ` David Maus
2011-01-10 18:01   ` John Tarbotton
2011-01-11 13:20   ` Matt Lundin
2011-01-11 13:22     ` Matt Lundin
2011-01-11 23:01       ` John Tarbotton
2011-01-11 14:01     ` Carsten Dominik

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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