From: Julien Fantin <julien.fantin@gmail.com>
To: Joseph Buchignani <joseph.buchignani@gmail.com>
Cc: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>,
Noorul Islam <noorul@noorul.com>,
Bastien <bastien.guerry@wikimedia.fr>
Subject: Re: cannot enable org-habit
Date: Fri, 3 Sep 2010 15:09:41 +0200 [thread overview]
Message-ID: <AANLkTimhDVJESWpdN8pvTzDVxt+9xA-y_3nfxK2s6FqW@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinaxjRvPB2kPBPpROckgdacjW6zKU2mMarhNfOK@mail.gmail.com>
Joseph, it's already all here, but for the sake of clarity :
;; Enable state logging enable for the TODO state i.e. the "!" part
(setq org-todo-keywords
(quote
((sequence "TODO(t!)" "NEXT(n!)" "|" "DONE(d!)")
(sequence "WAIT(w@/!)" "SOMEDAY(s@/!)" "|" "CANCELLED(c@/!)"))))
;; Add it to the list of modules
(add-to-list 'org-modules 'org-habit)
;; And finally require it
(require 'org-habit)
Happy habit monitoring :)
Cheers
On Thu, Sep 2, 2010 at 8:04 PM, Joseph Buchignani
<joseph.buchignani@gmail.com> wrote:
> 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 <julien.fantin@gmail.com>
> 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 <noorul@noorul.com> wrote:
>> > On Thursday, September 2, 2010, Julien Fantin <julien.fantin@gmail.com>
>> > 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.
>
next prev parent reply other threads:[~2010-09-03 13:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 17:28 cannot enable org-habit Joseph Buchignani
2010-09-01 6:34 ` Noorul Islam K M
2010-09-01 6:51 ` Joseph Buchignani
[not found] ` <AANLkTi=6h8+txvmRUVEBDd@mail.gmail.com>
2010-09-02 3:07 ` Paul Sexton
2010-09-02 6:48 ` Noorul Islam K M
2010-09-02 14:40 ` Bastien
2010-09-02 16:49 ` Julien Fantin
2010-09-02 17:17 ` Noorul Islam
2010-09-02 17:26 ` Julien Fantin
2010-09-02 18:04 ` Joseph Buchignani
2010-09-03 13:09 ` Julien Fantin [this message]
2010-09-03 17:09 ` Joseph Buchignani
2010-09-04 19:03 ` Bastien
[not found] ` <AANLkTi=3_wpcFVKOu9sVQLCqit4-NQoj4Jx-G=eABuzG@mail.gmail.com>
[not found] ` <8739trwrtj.fsf@gnu.org>
2010-09-03 9:33 ` Joseph Buchignani
2010-09-03 9:38 ` Joseph Buchignani
2010-09-03 13:01 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimhDVJESWpdN8pvTzDVxt+9xA-y_3nfxK2s6FqW@mail.gmail.com \
--to=julien.fantin@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=bastien.guerry@wikimedia.fr \
--cc=joseph.buchignani@gmail.com \
--cc=noorul@noorul.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).