[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Agenda view with tags filter
From: |
Ivan Kanis |
Subject: |
[Orgmode] Re: Agenda view with tags filter |
Date: |
Wed, 21 Nov 2007 22:42:06 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Bastien <address@hidden> writes:
> (org-add-agenda-custom-command
> '("h" agenda ""
> ((org-agenda-skip-function
> '(org-agenda-skip-entry 'notregexp ":home:"))
> (org-agenda-overriding-header "Agenda with :home: tag:"))))
Thanks for the tip, you code did not quite work for me. I think
org-agenda-skip-entry was missiong.
This works but I think it's bit ugly:
(setq org-agenda-custom-commands
'(("h" agenda "home"
((org-agenda-skip-function
(lambda()
(org-agenda-skip-if nil '(notregexp ":home:"))))))
("o" agenda "office"
((org-agenda-skip-function
(lambda()
(org-agenda-skip-if nil '(notregexp ":office:"))))))))
I'll take any better ideas.
--
Ivan
http://kanis.fr
"When faced with a challenge, look for a way, not a way out."
-- David Weatherford