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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to