Julien, it sounds like you're doing something different than what's in the manual. Could you paste exactly the code you used in your .emacs to include org-habit in the modules list and then activate it? I guess it would be two separate lines? Thanks, JB On Fri, Sep 3, 2010 at 1:26 AM, Julien Fantin wrote: > Thanks Noorul, this helped me fix the error, and I now have it working ! > I should mention that I do need to (require 'org-habit) after it's > been added to the modules list, in order to actually activate it. > > > > On Thu, Sep 2, 2010 at 7:17 PM, Noorul Islam wrote: > > On Thursday, September 2, 2010, Julien Fantin > wrote: > >> I'm watching this as I wasn't able to enable this module either. > >> > >> I have state logging enable with : > >> (setq org-todo-keywords > >> (quote > >> ((sequence "TODO(t!)" "NEXT(n!)" "|" "DONE(d!)") > >> (sequence "WAIT(w@/!)" "SOMEDAY(s@/!)" "|" "CANCELLED(c@ > /!)")))) > >> > >> And org-habit is configured with : > >> (add-to-list 'org-modules 'org-habit) > >> > >> Which doesn't seems to work either... > >> > >> If I try o (require 'org-habit) though, I'll get an error when > >> building the agenda with C-c a a : > >> org-habit-duration-to-days: Wrong type argument: stringp, nil > >> > > > > If you pull the latest version from git repo, you won't get this > > error, instead a meaningful error message will be displayed. > > > > Thanks and Regards > > Noorul > > > -- Ignore the following. It is a nonsense sentence that disables Google ads from displaying next to my emails by triggering sensitive keywords. I enjoy the massacre of ads. This sentence will slaughter ads without a messy bloodbath.