emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] habits not working


From: Tyler Smith
Subject: [O] habits not working
Date: Mon, 04 Jan 2016 09:49:04 -0500

Hi,

Habits don't seem to be working for me anymore, and I'm not sure why.

Steps to reproduce:

emacs -Q

load org mode with minimal config for habits:

;; test-org.el
(require 'package)
(setq package-load-list
      '((org-plus-contrib t)))
(package-initialize)

(setq org-agenda-files '("~/scratch/orghabits.org"))

(setq org-modules '(org-habit))

With one habit defined in ~/scratch/orghabits.org:

* Habits
** TODO Exercise
   SCHEDULED: <2016-01-04 Mon .+1d>
   :LOGBOOK:  
   - State "DONE"       from "TODO"       [2016-01-03 Sun 22:32]
   - State "DONE"       from "TODO"       [2016-01-02 Sat 17:07]
   - State "DONE"       from "TODO"       [2016-01-01 Fri 23:03]
   - State "DONE"       from "TODO"       [2015-12-31 Thu 16:24]
   - State "DONE"       from "TODO"       [2015-12-30 Wed 20:53]
   :END:      
   :PROPERTIES:
   :STYLE: habit
   :LAST_REPEAT: [2016-01-03 Sun 22:32]
   :END:      

My agenda looks like:

Week-agenda (W01):
Monday      4 January 2016 W01
  orghabits:  Scheduled:  TODO Exercise
Tuesday     5 January 2016
  orghabits:  Scheduled:  TODO Exercise
Wednesday   6 January 2016
  orghabits:  Scheduled:  TODO Exercise
Thursday    7 January 2016
  orghabits:  Scheduled:  TODO Exercise
Friday      8 January 2016
  orghabits:  Scheduled:  TODO Exercise
Saturday    9 January 2016
  orghabits:  Scheduled:  TODO Exercise
Sunday     10 January 2016
  orghabits:  Scheduled:  TODO Exercise

When I looked at this yesterday only the next habit was listed, and was
displayed along with its consistency graph, which is what I expect to
happen.

"Habit" is listed in the modeline, and pressing 'K' brings up a message
that habits have been turned off, but no other change. Pressing 'K'
repeatedly turns habits on and off, but the agenda itself doesn't
change. 

How did I break this?

Emacs version:
GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.5) of
2015-12-24

Org mode version:
Org-mode version 8.3.2 (8.3.2-59-g3d4c46-elpaplus @
/home/tws/.emacs.d/elpa/org-plus-contrib-20160104/)

Best,

Tyler
-- 
plantarum.ca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]