I found a solution to my problem:

Christoph Groth <c...@falma.de> 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to