Łukasz Stelmach <lukasz.stelm...@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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to