From: Pete Phillips <pete@smtl.co.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>, emacs-orgmode@gnu.org
Subject: Re: tags-tree question
Date: Mon, 22 Jun 2009 23:52:56 +0100 [thread overview]
Message-ID: <6138.1245711176@localhost> (raw)
In-Reply-To: <EB17A047-CE90-4530-BB6C-63A59B4BAE39@gmail.com>
Evening to you all
>>>>> "Carsten" == Carsten Dominik <carsten.dominik@gmail.com> writes:
Carsten> Pete, what exactly do you meam by "custom agenda" here.
I mean it's one of my org-agenda-custom-commands. This is my (probably
overly) complex setup to list any of the things I do at home, which have
a TODO="NEXT" action associated with them.
("h" "Home Stuff (Next)"
((tags-todo "Home//NEXT" nil)
(tags-todo "DIY//NEXT" nil)
(tags-todo "Karen//NEXT" nil)
(tags-todo "PhoneH//NEXT" nil)
(tags-todo "LaptopH//NEXT" nil)
(tags-todo "WaitingH//NEXT" nil)
(tags-todo "SometimeH//NEXT" nil))
nil)
Some of these actions will have SCHEDULED or DEADLINE dates associated
with them and I only want to see those actions 30 days (or perhaps 60
days) before the date. Anything without a DEADLine or SCHEDULED date I
want to see in the list.
Carsten> It is a tags/property/todo search? In that case you could
Carsten> try something like
Carsten> TODO="TODO"+DEADLINE<"<+1m>"
Carsten> as a search string
OK - promising - this looks like it may do what I want:
("h" "Home Stuff (Next)"
(
(tags-todo "TODO=\"NEXT\"+Home+DEADLINE<\"<+1m>\"" nil)
(tags-todo "TODO=\"NEXT\"+Home+DEADLINE=\"\"" nil)
(tags-todo "TODO=\"NEXT\"+Home+SCHEDULED<\"<+1m>\"" nil)
(tags-todo "TODO=\"NEXT\"+Home+SCHEDULED=\"\"" nil)
etc
I.e., find me NEXT items with the tag of Home, with a deadline within
the next month, AND find me NEXT items with the Home tag, where there is
no DEADLINE, AND ....
But that does seem very complex. (it also feels slow).
Carsten> HTH
It does. At least i know there is a way to do it. The question now is -
is there an easier way ?
Carsten> - Carsten
Carsten> P.S. Nice to know you are still around, still using Org
Carsten> ... :-)
:-)
I haven't stopped using org-mode - it is the lubricant which oils the
wheels of my life. I have just reduced the time I can spend reading and
responding to mailing list emails. :-( Still grazing on the list though.
Cheers
Pete
next prev parent reply other threads:[~2009-06-22 22:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 14:00 tags-tree question Pete Phillips
2008-10-29 15:52 ` Carsten Dominik
2008-10-29 15:59 ` Carsten Dominik
2008-11-01 12:51 ` Carsten Dominik
2008-11-02 23:20 ` Pete Phillips
2008-11-03 1:51 ` Bernt Hansen
2009-06-21 11:19 ` Pete Phillips
2009-06-21 13:46 ` Bernt Hansen
2009-06-22 9:53 ` Pete Phillips
2009-06-22 11:56 ` Carsten Dominik
2009-06-22 22:52 ` Pete Phillips [this message]
2009-06-23 10:07 ` Carsten Dominik
2009-06-23 8:26 ` Pete Phillips
2009-06-22 12:39 ` Bernt Hansen
2008-11-03 7:44 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6138.1245711176@localhost \
--to=pete@smtl.co.uk \
--cc=bernt@norang.ca \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).