* Shortcut for complex searches
@ 2010-03-18 14:08 Alessandro Pacaccio
2010-03-18 17:39 ` Matt Lundin
2010-03-18 17:52 ` Łukasz Stelmach
0 siblings, 2 replies; 3+ messages in thread
From: Alessandro Pacaccio @ 2010-03-18 14:08 UTC (permalink / raw)
To: emacs-orgmode
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?
Thank you in advance.
- Alessandro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Shortcut for complex searches
2010-03-18 14:08 Shortcut for complex searches Alessandro Pacaccio
@ 2010-03-18 17:39 ` Matt Lundin
2010-03-18 17:52 ` Łukasz Stelmach
1 sibling, 0 replies; 3+ messages in thread
From: Matt Lundin @ 2010-03-18 17:39 UTC (permalink / raw)
To: Alessandro Pacaccio; +Cc: emacs-orgmode
Alessandro Pacaccio <alessandro.pacaccio@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"-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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Shortcut for complex searches
2010-03-18 14:08 Shortcut for complex searches Alessandro Pacaccio
2010-03-18 17:39 ` Matt Lundin
@ 2010-03-18 17:52 ` Łukasz Stelmach
1 sibling, 0 replies; 3+ messages in thread
From: Łukasz Stelmach @ 2010-03-18 17:52 UTC (permalink / raw)
To: emacs-orgmode
Alessandro Pacaccio <alessandro.pacaccio@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"-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?
Read <info:(org):Storing searches> and try `C-c a C'.
--
Miłego dnia,
Łukasz Stelmach
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-18 17:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 14:08 Shortcut for complex searches Alessandro Pacaccio
2010-03-18 17:39 ` Matt Lundin
2010-03-18 17:52 ` Łukasz Stelmach
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).