From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Fantin Subject: Re: cannot enable org-habit Date: Thu, 2 Sep 2010 18:49:54 +0200 Message-ID: References: <87fwxsyzsd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=58684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrD0e-0007s7-Aj for Emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:51:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrCzQ-0007yZ-2S for Emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:50:17 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:62270) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrCzP-0007yQ-UM for Emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:50:16 -0400 Received: by eyh5 with SMTP id 5so510944eyh.0 for ; Thu, 02 Sep 2010 09:50:14 -0700 (PDT) In-Reply-To: <87fwxsyzsd.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Emacs-orgmode@gnu.org, Joseph Buchignani 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 On Thu, Sep 2, 2010 at 4:40 PM, Bastien wrote= : > Joseph Buchignani writes: > >> I presume there ought to be some sort of entry in my agenda, or the "k" = key >> should do something. I get nothing. Here is my setup: >> >> =C2=A0 * org-mode 7.01h >> =C2=A0 * emacs file included below. >> >> The relevant portion is (add-to-list 'org-modules 'org-habit), which I h= ave >> enabled in my .emacs, to no avail. >> >> What am I missing? > > Are you logging your DONE state? > > From the manual: > > =C2=A06. You must also have state logging for the `DONE' state enabled, i= n > =C2=A0 =C2=A0 order for historical data to be represented in the consiste= ncy > =C2=A0 =C2=A0 graph. =C2=A0If it's not enabled it's not an error, but the= consistency > =C2=A0 =C2=A0 graphs will be largely meaningless. > > -- > =C2=A0Bastien > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >