emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: agenda: storing searches _really_


From: Christoph Groth
Subject: [Orgmode] Re: agenda: storing searches _really_
Date: Wed, 25 Nov 2009 22:45:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

I found a solution to my problem:

Christoph Groth <address@hidden> 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"))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]