[Orgmode] Re: Shortcut for complex searches

2010-03-18 Thread Matt Lundin
Alessandro Pacaccio alessandro.pacac...@gmail.com 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-SCHEDULED2000-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


___
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


[Orgmode] Re: Shortcut for complex searches

2010-03-18 Thread Łukasz Stelmach
Alessandro Pacaccio alessandro.pacac...@gmail.com writes:

 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-SCHEDULED2000-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?

Read info:(org):Storing searches and try `C-c a C'.

-- 
Miłego dnia,
Łukasz Stelmach



___
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