I set up the Org mode consistency graph of habits following the manual. Each habit is, e.g.:

** TODO some habit
SCHEDULED: <2019-12-22 Sun 07:20 ++1d>
:STYLE: habit
:LAST_REPEAT: [2019-12-21 Sat 09:14]
- State "DONE"       from "TODO"       [2019-12-21 Sat 09:14]

and my init file has:

;; track habits
(add-to-list 'org-modules 'habits)
(setq org-habit-graph-column 65)
(setq org-habit-show-habits-only-for-today nil)

The consistency graph showed in agenda view for the week yesterday and I cannot replicate it now, either in view for the week or the day. I tried adding the code from How to show org-habit graph alone?

(set 'org-habit-show-all-today t)

Pressing K in either day or week view shows that the buffer is read-only in the mini-buffer.

How can I set up the consistency graph or debug what's wrong?


You are probably using DEADLINE instead of SCHEDULED. I had the same problem and I solved it by using SCHEDULED.

  • I confirm that my habits all have SCHEDULED and not DEADLINE. – miguelmorin Nov 2 '20 at 10:41

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.