emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: how to change the set of agenda org files between custom a


From: Dan Griswold
Subject: [Orgmode] Re: how to change the set of agenda org files between custom agenda commands
Date: Tue, 23 Sep 2008 19:16:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Rainer Stengele <address@hidden> writes:

> I am struggling to switch the set of used agenda org files between
> different custom agenda commands.
>
> I tried something like
>
> (setq org-agenda-custom-commands
>       '(
>       ("k" . "Kundenbezogene / Ketegoriebezogene TODOs ...")
>         ("ka" tags-todo "CATEGORY=\"ADMIN\"")
>         ("kP" tags-todo "CATEGORY=\"PRIVAT\""
>        ((org-agenda-files (quote ("~/org/PRIVAT/PRIVAT.org")))))

Playing with customize I came up with this possibility:

(setq org-agenda-custom-commands
      '(
        ("k" . "Kundenbezogene / Ketegoriebezogene TODOs ...")
        ("ka" tags-todo "CATEGORY=\"ADMIN\"")
        ("kP" tags-todo "CATEGORY=\"PRIVAT\""
         ((org-agenda-files
           '("~/org/PRIVAT/PRIVAT.org"))))))

Will that do it?

Dan

-- 
--------------
Dan Griswold
Rochester, NY
--------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]