Re: [Orgmode] cannot enable org-habit
Scratch that, there is an easier way to test whether org-habit is activated. The reason K (uppercase) wasn't working for me was I thought the screen activated by C-a a beginning "Press key for agenda command" was the "agenda buffer". It is not. The agenda buffer shows your weekly schedule. Press K there. You should get a message that habits have been disabled/enabled. If not, org-habit is not working. On Fri, Sep 3, 2010 at 5:33 PM, Joseph Buchignani < joseph.buchign...@gmail.com> wrote: > I figured out what I was doing wrong. I was looking for habit tracking in > the wrong place. It shows up after the command C-a a a, not C-a a. > > All I had to do to enable org mode was put (require 'org-habit) in my > .emacs. I didn't need to add it to the modules list. I didn't need to alter > my properties for the entry. > > The only way I know to test whether org-habit is working is to look for a > frequency bar on the schedule of your agenda generated by C-a a a. In order > for this to show up, you have to have a habit that's scheduled for today. > The bar just looks like colored background text on the rest of the line > after the todo item. It will show your history with *'s and !'s. It uses the > colors grey, purple, green, yellow and red. > > I will reread the manual and learn more about using the module. > > Thanks for the help! > JB > > I'm using Org-mode 7.01h with the latest Emacs snapshot in Ubuntu Lucid > 10.04. > > On Fri, Sep 3, 2010 at 9:15 AM, Bastien wrote: > >> Hi Joseph, >> >> (please post on the mailing list...) >> >> Joseph Buchignani writes: >> >> > First, even if items like DONE state logging are not properly >> configured, I >> > should still see some sign that Org-Habit is functioning when I go to my >> > agenda, yes? What is the parsimonious test that Org-Habit is loaded as a >> > module? >> > >> > Secondly, I have DONE state tracking enabled in the file, although not >> > globally. Here is how my agenda file begins: >> > >> > #+STARTUP: indent >> > #+STARTUP: odd >> > #+STARTUP: oddeven >> > #+TODO: TODO(t!) WAIT(w/!) DEFERRED DELEGATED SOMEDAY MAYBE | DONE(d!) >> FAIL(f!) >> > CANCELLED(c!) >> > #+PRIORITIES: A D C >> > #+STARTUP: showeverything >> >> Please try using a property for the logging of the entry: >> >> :LOGGING: NEXT(n) TODO(t) | DONE(d@) CANCELED(c@) >> >> HTH >> >> -- >> Bastien >> > > > > -- > 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. > -- 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. ___ 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
Re: [Orgmode] cannot enable org-habit
I figured out what I was doing wrong. I was looking for habit tracking in the wrong place. It shows up after the command C-a a a, not C-a a. All I had to do to enable org mode was put (require 'org-habit) in my .emacs. I didn't need to add it to the modules list. I didn't need to alter my properties for the entry. The only way I know to test whether org-habit is working is to look for a frequency bar on the schedule of your agenda generated by C-a a a. In order for this to show up, you have to have a habit that's scheduled for today. The bar just looks like colored background text on the rest of the line after the todo item. It will show your history with *'s and !'s. It uses the colors grey, purple, green, yellow and red. I will reread the manual and learn more about using the module. Thanks for the help! JB I'm using Org-mode 7.01h with the latest Emacs snapshot in Ubuntu Lucid 10.04. On Fri, Sep 3, 2010 at 9:15 AM, Bastien wrote: > Hi Joseph, > > (please post on the mailing list...) > > Joseph Buchignani writes: > > > First, even if items like DONE state logging are not properly configured, > I > > should still see some sign that Org-Habit is functioning when I go to my > > agenda, yes? What is the parsimonious test that Org-Habit is loaded as a > > module? > > > > Secondly, I have DONE state tracking enabled in the file, although not > > globally. Here is how my agenda file begins: > > > > #+STARTUP: indent > > #+STARTUP: odd > > #+STARTUP: oddeven > > #+TODO: TODO(t!) WAIT(w/!) DEFERRED DELEGATED SOMEDAY MAYBE | DONE(d!) > FAIL(f!) > > CANCELLED(c!) > > #+PRIORITIES: A D C > > #+STARTUP: showeverything > > Please try using a property for the logging of the entry: > > :LOGGING: NEXT(n) TODO(t) | DONE(d@) CANCELED(c@) > > HTH > > -- > Bastien > -- 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. ___ 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
Re: [Orgmode] cannot enable org-habit
Glad you sorted this out. Joseph Buchignani writes: > I will reread the manual and learn more about using the module. If you see any way to improve the manual about org-habit, please feel free to share thoughts and patches! Best, -- Bastien ___ 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
Re: [Orgmode] cannot enable org-habit
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: >> >> * org-mode 7.01h >> * emacs file included below. >> >> The relevant portion is (add-to-list 'org-modules 'org-habit), which I have >> enabled in my .emacs, to no avail. >> >> What am I missing? > > Are you logging your DONE state? > > From the manual: > > 6. You must also have state logging for the `DONE' state enabled, in > order for historical data to be represented in the consistency > graph. If it's not enabled it's not an error, but the consistency > graphs will be largely meaningless. > > -- > Bastien > > ___ > 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 > ___ 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
Re: [Orgmode] cannot enable org-habit
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: > > * org-mode 7.01h > * emacs file included below. > > The relevant portion is (add-to-list 'org-modules 'org-habit), which I have > enabled in my .emacs, to no avail. > > What am I missing? Are you logging your DONE state? >From the manual: 6. You must also have state logging for the `DONE' state enabled, in order for historical data to be represented in the consistency graph. If it's not enabled it's not an error, but the consistency graphs will be largely meaningless. -- Bastien ___ 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
[Orgmode] cannot enable org-habit
Hi Org-mode, I've read all the mailing lists and manuals and still can't get my org-habit module working. 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: - org-mode 7.01h - emacs file included below. The relevant portion is (add-to-list 'org-modules 'org-habit), which I have enabled in my .emacs, to no avail. What am I missing? Thanks, JB my .emacs file: ;; Org-mode settings (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-font-lock-mode 1) Org mode upgrade settings (global-set-key "\C-cb" 'org-iswitchb) ;; (setq load-path (cons "/usr/share/emacs/23.1/lisp/org/" load-path)) (require 'org-install) ;; org mode agenda enabling (setq org-agenda-files (list "~/Desktop/Dropbox/6repos/ubu/Repository/org-mode/agenda.org")) ;; making org pretty ;; (setq org-startup-indented t) ;; make logbook in drawer (setq org-log-into-drawer "LOGBOOK") ;; Enable habit tracking ;;(require 'org-habit) (add-to-list 'org-modules 'org-habit) ;; better pasting between programs (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(x-select-enable-clipboard t) '(x-select-enable-primary nil)) (setq global-visual-line-mode 1) (add-to-list 'load-path "/home/dunpeel/freex/") (load "freex-conf.el") -- 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. ___ 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