emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org habit consistency graph
@ 2013-12-02  6:42 Chris Henderson
  2013-12-02 13:16 ` Alan Schmitt
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Henderson @ 2013-12-02  6:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

I'm trying to setup habit tracking on org but can't see any consistency
graph.

I have setup a simple TODO item and set the style as habit by using C-c C-x
p (org-set-property).

* TODO exercise
  SCHEDULED: <2013-12-03 Tue .+1d>
  - State "DONE"       from "TODO"       [2013-12-02 Mon 17:31]
  - State "DONE"       from "TODO"       [2013-12-02 Mon 17:30]
  :PROPERTIES:
  :LAST_REPEAT: [2013-12-02 Mon 17:31]
  :STYLE:    habit
  :END:

Orgmode version is 8.2.3c (20131202)

Thanks.

[-- Attachment #2: Type: text/html, Size: 708 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org habit consistency graph
  2013-12-02  6:42 org habit consistency graph Chris Henderson
@ 2013-12-02 13:16 ` Alan Schmitt
  2013-12-02 19:40   ` Chris Henderson
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Schmitt @ 2013-12-02 13:16 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

henders254@gmail.com writes:

> I'm trying to setup habit tracking on org but can't see any consistency
> graph.
>
> I have setup a simple TODO item and set the style as habit by using C-c C-x
> p (org-set-property).
>
> * TODO exercise
>   SCHEDULED: <2013-12-03 Tue .+1d>
>   - State "DONE"       from "TODO"       [2013-12-02 Mon 17:31]
>   - State "DONE"       from "TODO"       [2013-12-02 Mon 17:30]
>   :PROPERTIES:
>   :LAST_REPEAT: [2013-12-02 Mon 17:31]
>   :STYLE:    habit
>   :END:

Looking at one of my habits, I see I have a "/3d" at the end of the
schedule marker:

    SCHEDULED: <2013-12-03 Tue .+1d/3d>

Maybe it is required for the style to be in effect?

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org habit consistency graph
  2013-12-02 13:16 ` Alan Schmitt
@ 2013-12-02 19:40   ` Chris Henderson
  2013-12-03  8:15     ` Alan Schmitt
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Henderson @ 2013-12-02 19:40 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

Tried that and it didn't work. Here's my agenda view (still no graph) by
doing C-a a a:

Week-agenda (W49):
Monday      2 December 2013 W49
Tuesday     3 December 2013
Wednesday   4 December 2013
Thursday    5 December 2013
Friday      6 December 2013
Saturday    7 December 2013
Sunday      8 December 2013

These things are enabled: Org-Agenda Week Ddl Grid Habit vl Wrap

I have also added this line in my .emacs: (require 'org-habit)

Emacs version 24.3.1.

Thanks.


On Tue, Dec 3, 2013 at 12:16 AM, Alan Schmitt <
alan.schmitt@polytechnique.org> wrote:

> henders254@gmail.com writes:
>
> > I'm trying to setup habit tracking on org but can't see any consistency
> > graph.
> >
> > I have setup a simple TODO item and set the style as habit by using C-c
> C-x
> > p (org-set-property).
> >
> > * TODO exercise
> >   SCHEDULED: <2013-12-03 Tue .+1d>
> >   - State "DONE"       from "TODO"       [2013-12-02 Mon 17:31]
> >   - State "DONE"       from "TODO"       [2013-12-02 Mon 17:30]
> >   :PROPERTIES:
> >   :LAST_REPEAT: [2013-12-02 Mon 17:31]
> >   :STYLE:    habit
> >   :END:
>
> Looking at one of my habits, I see I have a "/3d" at the end of the
> schedule marker:
>
>     SCHEDULED: <2013-12-03 Tue .+1d/3d>
>
> Maybe it is required for the style to be in effect?
>
> Alan
>

[-- Attachment #2: Type: text/html, Size: 2099 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org habit consistency graph
  2013-12-02 19:40   ` Chris Henderson
@ 2013-12-03  8:15     ` Alan Schmitt
  2013-12-03  8:22       ` Chris Henderson
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Schmitt @ 2013-12-03  8:15 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

henders254@gmail.com writes:

> Tried that and it didn't work. Here's my agenda view (still no graph) by
> doing C-a a a:
>
> Week-agenda (W49):
> Monday      2 December 2013 W49
> Tuesday     3 December 2013
> Wednesday   4 December 2013
> Thursday    5 December 2013
> Friday      6 December 2013
> Saturday    7 December 2013
> Sunday      8 December 2013
>
> These things are enabled: Org-Agenda Week Ddl Grid Habit vl Wrap
>
> I have also added this line in my .emacs: (require 'org-habit)

Sorry, I have no idea what is wrong. I looked at my setup and the only
difference I see is that I don't require org-habit.

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org habit consistency graph
  2013-12-03  8:15     ` Alan Schmitt
@ 2013-12-03  8:22       ` Chris Henderson
  2013-12-03 20:40         ` Josiah Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Henderson @ 2013-12-03  8:22 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

Anyone else help me identify the issue? Thanks.


On Tue, Dec 3, 2013 at 7:15 PM, Alan Schmitt <alan.schmitt@polytechnique.org
> wrote:

> henders254@gmail.com writes:
>
> > Tried that and it didn't work. Here's my agenda view (still no graph) by
> > doing C-a a a:
> >
> > Week-agenda (W49):
> > Monday      2 December 2013 W49
> > Tuesday     3 December 2013
> > Wednesday   4 December 2013
> > Thursday    5 December 2013
> > Friday      6 December 2013
> > Saturday    7 December 2013
> > Sunday      8 December 2013
> >
> > These things are enabled: Org-Agenda Week Ddl Grid Habit vl Wrap
> >
> > I have also added this line in my .emacs: (require 'org-habit)
>
> Sorry, I have no idea what is wrong. I looked at my setup and the only
> difference I see is that I don't require org-habit.
>
> Alan
>

[-- Attachment #2: Type: text/html, Size: 1383 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org habit consistency graph
  2013-12-03  8:22       ` Chris Henderson
@ 2013-12-03 20:40         ` Josiah Schwab
  0 siblings, 0 replies; 6+ messages in thread
From: Josiah Schwab @ 2013-12-03 20:40 UTC (permalink / raw)
  To: Chris Henderson; +Cc: Alan Schmitt, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Hi Chris,

> Anyone else help me identify the issue? Thanks.

Have you tried with a minimal org configuration?  I tried and cannot
reproduce the problem.  That suggests something else in your org
configuration as the culprit.

I have attached your example TODO (habit) as henderson-habit.org.
Update the paths as appropriate in the attached minimal-org.el, then
star emacs with it and see what happens for you.

emacs -Q -l minimal-org.el

After issuing M-x org-agenda a, I get an agenda with a consistency graph.

Best,
Josiah


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: henderson-habit.org --]
[-- Type: text/x-org, Size: 260 bytes --]

* TODO exercise
  SCHEDULED: <2013-12-03 Tue .+1d>
  - State "DONE"       from "TODO"       [2013-12-02 Mon 17:31]
  - State "DONE"       from "TODO"       [2013-12-02 Mon 17:30]
  :PROPERTIES:
  :LAST_REPEAT: [2013-12-02 Mon 17:31]
  :STYLE:    habit
  :END:

[-- Attachment #3: minimal-org.el --]
[-- Type: application/emacs-lisp, Size: 467 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-03 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02  6:42 org habit consistency graph Chris Henderson
2013-12-02 13:16 ` Alan Schmitt
2013-12-02 19:40   ` Chris Henderson
2013-12-03  8:15     ` Alan Schmitt
2013-12-03  8:22       ` Chris Henderson
2013-12-03 20:40         ` Josiah Schwab

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).