Daniel Clemente <[email protected]> writes:
> In fact I would like to use often the agenda view with several tags
> excluded, so the ideal setup would be an agenda custom search.
> But I don't know which command to use in org-agenda-custom-commands: I
> don't want tags-todo (that's a heading list), but the real agenda (with its
> colors, dates, deadlines, etc.). However, the search type called „agenda“
> seems not to accept tags to search.
> Maybe „agenda“ could accept tags to search?
> Or else I can try to do a custom command which emulates the agenda
> but adds this filter; maybe with a local variable or with „skip
> conditions“ (org-agenda-skip-function).
For this you would indeed you a skip function.
E.g.,
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(("A" agenda ""
((org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp
":TAG:"))))))
--8<---------------cut here---------------end--------------->8---
Best,
Matt
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode