emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Shortcut for complex searches


From: Matt Lundin
Subject: [Orgmode] Re: Shortcut for complex searches
Date: Thu, 18 Mar 2010 13:39:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Alessandro Pacaccio <address@hidden> writes:

> Hi,
>
> I need a list of TODO items that match a given tag and are not
> scheduled after a given date. I use the C-c a M shortcut with the
> following search string: +mytag+TODO="TODO"-SCHEDULED>"2000-01-01"
>
> My question is: as I frequently use this search, is it possible to
> configure the command in the org-agenda-custom-commands variable?

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      '(("x" "Special Todo" 
         tags-todo "+mytag+TODO=\"TODO\"-SCHEDULED>\"2000-01-01")
        ;; other commands here
        ))
--8<---------------cut here---------------end--------------->8---

For more details on how to customize org-agenda-custom-commands, you
might want to check out the tutorial on Worg:

http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

Best,
Matt




reply via email to

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