[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: search for DEADLINE in warning period
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: search for DEADLINE in warning period |
Date: |
Tue, 09 Feb 2010 07:28:50 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Łukasz Stelmach <address@hidden> writes:
> Greetings.
>
> Is there a way to search for a timestamp, particularly a DEADLINE, that
> is in its warning period?
>
> Eg.
>
> --8<---------------cut here---------------start------------->8---
>
> * TODO Pay the rent
> DEADLINE: <2010-03-05 Fri -5d +1m>
>
> --8<---------------cut here---------------end--------------->8---
>
> 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
>
> --8<---------------cut here---------------start------------->8---
>
> * TODO Pay the rent
> SCHEDULED: <2010-03-01 +1m>
> DEADLINE: <2010-03-05 Fri -5d +1m>
>
> --8<---------------cut here---------------end--------------->8---
>
> and searching for `SCHEDULED>="<now>"'. But it builds two logs of
>
> --8<---------------cut here---------------start------------->8---
>
> - State "DONE" from "TODO" [2010-02-01 Mon 14:23]
>
> --8<---------------cut here---------------end--------------->8---
>
> Is there a cleaner way to do it?
I remove entries from the global TODO lists using the variables
org-agenda-todo-ignore-scheduled, org-agenda-todo-ignore-deadlines,
org-agenda-todo-ignore-with-date
This leaves SCHEDULED and DEADLINE items only on the daily agenda view.
So to see deadlines in the warning period I just go to the agenda for
today (C-c a a) and it shows up.
HTH,
Bernt
- [Orgmode] search for DEADLINE in warning period, Łukasz Stelmach, 2010/02/09
- [Orgmode] Re: search for DEADLINE in warning period,
Bernt Hansen <=
- [Orgmode] Re: search for DEADLINE in warning period, Łukasz Stelmach, 2010/02/09
- Re: [Orgmode] Re: search for DEADLINE in warning period, Carsten Dominik, 2010/02/09
- [Orgmode] Re: search for DEADLINE in warning period, Matt Lundin, 2010/02/09
- [Orgmode] Re: search for DEADLINE in warning period, Carsten Dominik, 2010/02/10
- [Orgmode] Re: search for DEADLINE in warning period, Łukasz Stelmach, 2010/02/10
- Re: [Orgmode] Re: search for DEADLINE in warning period, Carsten Dominik, 2010/02/11
- [Orgmode] Re: search for DEADLINE in warning period, Łukasz Stelmach, 2010/02/11
- [Orgmode] Re: search for DEADLINE in warning period, Matthew Lundin, 2010/02/11
[Orgmode] Re: search for DEADLINE in warning period, Matt Lundin, 2010/02/09