Bastien <[EMAIL PROTECTED]> 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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode