emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Tue, 23 Jun 2009 09:26:50 +0100	[thread overview]
Message-ID: <29861.1245745610@localhost> (raw)
In-Reply-To: <EB17A047-CE90-4530-BB6C-63A59B4BAE39@gmail.com>

Morning guys.

>>>>> "Pete" == Pete Phillips <pete.phillips <at> smtl.co.uk> writes:

 Pete> Some of these actions will have SCHEDULED or DEADLINE dates associated
 Pete> with them and I only want to see those actions 30 days (or perhaps 60
 Pete> days) before the date. Anything without a DEADLine or SCHEDULED date I
 Pete> 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

 Pete> OK - promising - this looks like it may do what I want:

 Pete>  ("h" "Home Stuff (Next)"
 Pete>  (
 Pete>   (tags-todo "TODO=\"NEXT\"+Home+DEADLINE<\"<+1m>\"" nil)
 Pete>   (tags-todo "TODO=\"NEXT\"+Home+DEADLINE=\"\"" nil)
 Pete>   (tags-todo "TODO=\"NEXT\"+Home+SCHEDULED<\"<+1m>\"" nil)
 Pete>   (tags-todo "TODO=\"NEXT\"+Home+SCHEDULED=\"\"" nil)

 Pete> etc

 Pete> I.e., find me NEXT items with the tag of Home, with a deadline within
 Pete> the next month, AND find me NEXT items with the Home tag, where there is
 Pete> no DEADLINE, AND ....

Hmm - not sure this does what I want. Can you tell me if the expression:

 (tags-todo "TODO=\"NEXT\"+Home+SCHEDULED=\"\"" nil)

looks for a TODO=NEXT, with TAG=Home and *no* SCHEDULED date ?
(i.e. there is no SCHEDULED: <xxxx-xx-xx > line associated with that
item) ?

My results are confusing at the moment. I can see some SCHEDULED items
when I wouldn't expect to.

 Pete> But that does seem very complex. (it also feels slow).

Yeah - taking around 30-40 seconds to build the buffer.  Are there any
potential speedups ?

Pete

  parent reply	other threads:[~2009-06-23  8:28 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
2009-06-23 10:07                   ` Carsten Dominik
2009-06-23  8:26                 ` Pete Phillips [this message]
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=29861.1245745610@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).