I found a solution to my problem:
Christoph Groth <[email protected]> writes:
> I'm using org 6.29c. To view all items tagged with :work: in my
> agenda I can type
>
> C-c a a (to view the current agenda)
> / TAB work RET (to restrict the display)
>
>
> Now I would like to get the same with typing
>
> C-c a w
(defun my-org-agenda-list-with-filter (filter)
(org-agenda-list)
(org-agenda-filter-by-tag-show-all)
(org-agenda-filter-apply filter))
(setq org-agenda-custom-commands
'(("w" "Agenda for work"
my-org-agenda-list-with-filter ("+work"))))
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode