Here is what I mean:

enter image description here

The task with a deadline is displayed more than once in the agenda, which confuses me. How can I show this task in my agenda only once, under its due date?


Quoting (org) Deadlines and scheduling:

On the deadline date, the task will be listed in the agenda. In addition, the agenda for today will carry a warning about the approaching or missed deadline, starting org-deadline-warning-days before the due date, and continuing until the entry is marked DONE.


How can I show this task in my agenda only once, under its due date?

Customise org-deadline-warning-days:

(setq org-deadline-warning-days 0)

the documentation of which user option reads

org-deadline-warning-days is a variable defined in ‘org.el’.
Its value is 14

Number of days before expiration during which a deadline becomes active.
This variable governs the display in sparse trees and in the agenda.
When 0 or negative, it means use this number (the absolute value of it)
even if a deadline has a different individual lead time specified.

Custom commands can set this variable in the options section.

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.