I want to use org-agenda to show todo's with scheduled date or deadline date within at certain time interval. For instance, I want to show todo's with deadline between today and one week ahead (today +7d). I have tried to do this by the following code:
(setq org-agenda-custom-commands '(
("d" "daily "(
(tags-todo "+DEADLINE>=\"<today>\" +DEADLINE<=\"<today + 7d>\" (
(org-agenda-sorting-strategy '(todo-state-down))
))
))))
But the code does not give what I want, instead my agenda show all todo's with deadline in the future, not only those with deadline between today and one week forward. How can I make org-agenda only show todo's for a certain time interval? Thanks for any answer :)
*Org-Agenda*
buffer without modifying what's underneath. I've only played a bit with that option, so I'm not sure as to its full potential.org-agenda-list
instead oforg-tags-view
-- the former is specifically designed for a span of time from 1 day to infinity depending upon the need.org-agenda-list
instead oforg-tags-view
, variables such asorg-agenda-start-day
andorg-agenda-span
can control the time frame for which deadlines or scheduled tasks are displayed. A regexp restriction can be added to the search criteria to focus in on certain tags. I haven't played around withorg-agenda-filter-by-tag
, but that also looks interesting. orgmode.org/manual/Filtering_002flimiting-agenda-items.html Here is the link to the regexp skip/include stuff: orgmode.org/manual/Special-agenda-views.html