From: Rainer Stengele <rainer.stengele@diplan.de>
To: emacs-orgmode@gnu.org
Subject: how to change the set of agenda org files between custom agenda commands
Date: Tue, 23 Sep 2008 17:37:36 +0200 [thread overview]
Message-ID: <gbb2fs$kkf$1@ger.gmane.org> (raw)
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")))))
...
or
(setq org-agenda-custom-commands
'(
("k" . "Kundenbezogene / Ketegoriebezogene TODOs ...")
("ka" tags-todo "CATEGORY=\"ADMIN\"")
("kP" tags-todo "CATEGORY=\"PRIVAT\""
((org-agenda-directory "~/org/PRIVAT")))
...
but am failing miserably. Can someone point me to a solution?
Motivation: in the middle of my worktime I want to be able to look into a completely different (private) set of org files.
I know I could write a elisp function and redefine the org-agenda-custom-commands but I would like to do this in one place.
Rainer
next reply other threads:[~2008-09-23 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 15:37 Rainer Stengele [this message]
2008-09-23 23:16 ` how to change the set of agenda org files between custom agenda commands Dan Griswold
2008-09-24 21:25 ` Rainer Stengele
2008-09-25 2:54 ` Dan Griswold
2008-09-25 3:32 ` Carsten Dominik
2008-09-25 12:00 ` Rainer Stengele
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gbb2fs$kkf$1@ger.gmane.org' \
--to=rainer.stengele@diplan.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.