1

I want to use some variations of ignoring timestamp options in org-agenda.

For example, I want to have custom agenda command enumerates

  • TODOs Scheduled today
  • TODOs tagged some tag only within future 2 weeks
  • all TODOs regardless of timestamps

Are there some good way to realize this? (I imagine doing like let-ting org-agenda-ignore-* variables in each custom search options.)

1

This can all be done using tags/tags-todo property searches. You can search for schedule/deadline/timestamp information using the SCHEDULED, DEADLINE and TIMESTAMP properties. The TODO state is in the TODO property. Dates relative to "now" can be specified using org's <+nd> syntax to mean "n days from today". Your first two examples can be done using this method:

  • TODOs Scheduled today --- +SCHEDULED="<+0d>"
  • TODOs tagged some tag only within future 2 weeks --- +sometag+TIMESTAMP<=<+14d>

The third example is the built-in t agenda that lists all TODO items. You can recreated it by searching for +TOOD={.*} (.* being a regular expression that matches anything, so this matches any TODO state). By default this excludes and "done" TODO state.

  • Still being through try and error, I've found the way to go. Thanks! – lurdan Jul 21 '16 at 5:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.