3

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>
:PROPERTIES:
:STYLE: habit
:LAST_REPEAT: [2019-12-21 Sat 09:14]
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2019-12-21 Sat 09:14]
...
:END:

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?

miguelmorin
  • 1,751
  • 11
  • 33

1 Answers1

0

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