"Sebastien Vauban" wrote: > Suppose you want to make a list of tasks you will have to do tomorrow. > > (add-to-list 'org-agenda-custom-commands > '("1" "Tomorrow" > tags-todo "SCHEDULED=\"<+1d>\"" > ((org-agenda-overriding-header "Tomorrow"))) t) > > However, you'll "lose" timed tasks. Hence, you need to write a more complex > expression, like: > > (add-to-list 'org-agenda-custom-commands > '("2" "Tomorrow" > tags-todo "SCHEDULED>=\"<+1d>\"+SCHEDULED<\"<+2d>\"" > ((org-agenda-overriding-header "Tomorrow (full)"))) t) > > Is there a better way to write such a basic request?
BTW, it's the same for "Today", for which we *must* replace the intuitive expression --8<---------------cut here---------------start------------->8--- tags-todo "SCHEDULED=\"<today>\"" --8<---------------cut here---------------end--------------->8--- by --8<---------------cut here---------------start------------->8--- tags-todo "SCHEDULED<\"<tomorrow>\"" --8<---------------cut here---------------end--------------->8--- if we want to see all today's tasks (including the ones with a "time" component)... Best regards, Seb -- Sebastien Vauban