Re: [O] habits not working
On Mon, Jan 4, 2016, at 09:59 AM, Dave Marquardt wrote: > Tyler Smith writes: > > > Habits don't seem to be working for me anymore, and I'm not sure why. > > > 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/) > > Did you happen to update org-mode recently? There was a change around > the 8.3 timeframe about where you could put properties. See > http://orgmode.org/Changes.html > That was it, thanks. Following the change, the format must be: * TODO Headline SCHEDULED: :PROPERTIES: :style: habit: ... :END: :LOGBOOK: ... I got thrown off because I store my past 'completions' in a :LOGBOOK: drawer which was placed before the :PROPERTIES: drawer, which used to be ok. Best, Tyler
Re: [O] habits not working
Tyler Smith writes: > Habits don't seem to be working for me anymore, and I'm not sure why. > 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/) Did you happen to update org-mode recently? There was a change around the 8.3 timeframe about where you could put properties. See http://orgmode.org/Changes.html -Dave
[O] habits not working
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 Thursday7 January 2016 orghabits: Scheduled: TODO Exercise Friday 8 January 2016 orghabits: Scheduled: TODO Exercise Saturday9 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