org-modeemacs24

emacs org mode agenda: in today's view do not show items with deadline for tomorrow


I have items that have a deadline for today and repeat daily, eg:

If this TODO has a deadline of today, that is great, I would like to see it in the agenda for today.

When I mark this TODO as done, and it then gets the deadline date to be tomorrow, it still shows up in the agenda for today prefaced by:

In 1 d.

And I dont want to see any items listed today that have a deadline for tomorrow.

Is there any way to set emacs org mode to do this?

I tried

(setq org-agenda-todo-ignore-scheduled 'future)

But this does not work.

Thanks ahead of time....


Solution

  • First, to answer your question. It is possible to specify the lead time for warnings for each task as follows - the -0d says warnings should be zero days in advance:

    DEADLINE: <2020-09-22 Tue +1d -0d>
    

    This would allow you to do what I think your asking, without the heavy hammer of setting org-deadline-warning-days to 0.

    Second, as several people mentioned, perhaps you want to schedule things for each day, not have a deadline for them each day.