From: Matt Lundin <mdl@imapmail.org>
To: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
Cc: emacs-orgmode@gnu.org
Subject: Re: search for DEADLINE in warning period
Date: Tue, 09 Feb 2010 08:49:41 -0500 [thread overview]
Message-ID: <87wrymwmbu.fsf@fastmail.fm> (raw)
In-Reply-To: <877hqmobzc.fsf@dasa3.iem.pw.edu.pl> ("Łukasz Stelmach"'s message of "Tue, 09 Feb 2010 13:00:23 +0100")
Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> writes:
> Is there a way to search for a timestamp, particularly a DEADLINE, that
> is in its warning period?
>
> Eg.
>
>
> * TODO Pay the rent
> DEADLINE: <2010-03-05 Fri -5d +1m>
>
>
> This is a repeatable item so it's always in TODO state and pollutes my
> TODO list for 25 out of 30 days in a month. Doing simple
> `DEADLINE<="<+5d>"' does not satisfy me because there are notes I would
> like to know about much earlier. That's why I'd like to facilitate the
> timestamps' own warning periods.
>
> It seems to be workaroundable by adding a SCHEDULED date
>
>
> * TODO Pay the rent
> SCHEDULED: <2010-03-01 +1m>
> DEADLINE: <2010-03-05 Fri -5d +1m>
>
>
> and searching for `SCHEDULED>="<now>"'. But it builds two logs of
>
>
> - State "DONE" from "TODO" [2010-02-01 Mon 14:23]
>
>
> Is there a cleaner way to do it?
(setq org-agenda-todo-ignore-deadline 'near)
With this setting, your items with a deadline will not show up in your
TODO list until they are within the warning period.
Best,
Matt
next prev parent reply other threads:[~2010-02-09 13:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 12:00 search for DEADLINE in warning period Łukasz Stelmach
2010-02-09 12:28 ` Bernt Hansen
2010-02-09 14:17 ` Łukasz Stelmach
2010-02-09 14:22 ` Carsten Dominik
2010-02-09 14:48 ` Matt Lundin
2010-02-10 12:19 ` Carsten Dominik
2010-02-10 18:41 ` Łukasz Stelmach
2010-02-11 16:07 ` Carsten Dominik
2010-02-11 17:39 ` Łukasz Stelmach
2010-02-11 14:07 ` Matthew Lundin
2010-02-09 13:49 ` Matt Lundin [this message]
2010-02-09 13:58 ` Łukasz Stelmach
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=87wrymwmbu.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=lukasz.stelmach@iem.pw.edu.pl \
/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).