all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org habit graph not showing
@ 2014-01-27 10:11 Chris Henderson
  2014-01-27 10:18 ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Henderson @ 2014-01-27 10:11 UTC (permalink / raw)
  To: emacs-orgmode

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

I’m running org mode version 8.2.3c and emacs version 24.3.1 on OS X
Mavericks in the CLI.

I’d like to get the org habit graph when I do “alt-x org-agenda a” but
there is no graph.

My habit.org file looks like this:

* TODO write journal
  SCHEDULED: <2014-01-28 Tue .+1d/3d>
  - State "DONE"       from "TODO"       [2014-01-27 Mon 20:50]
  - State "DONE"       from "TODO"       [2013-12-03 Tue 06:37]
  - State "DONE"       from "TODO"       [2013-12-02 Mon 21:54]
  :PROPERTIES:
  :LAST_REPEAT: [2014-01-27 Mon 20:50]
  :STYLE:    habit
  :END:

My .emacs file is in http://pastebin.com/iaXzRmxk

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

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

* Re: Org habit graph not showing
  2014-01-27 10:11 Org habit graph not showing Chris Henderson
@ 2014-01-27 10:18 ` Bastien
  2014-01-28  6:27   ` Chris Henderson
  0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2014-01-27 10:18 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

Chris Henderson <henders254@gmail.com> writes:

> I’m running org mode version 8.2.3c and emacs version 24.3.1 on OS X
> Mavericks in the CLI.
>
> I’d like to get the org habit graph when I do “alt-x org-agenda a”
> but there is no graph.
>
> My habit.org file looks like this:
>
> * TODO write journal
>   SCHEDULED: <2014-01-28 Tue .+1d/3d>
>   - State "DONE"       from "TODO"       [2014-01-27 Mon 20:50]
>   - State "DONE"       from "TODO"       [2013-12-03 Tue 06:37]
>   - State "DONE"       from "TODO"       [2013-12-02 Mon 21:54]
>   :PROPERTIES:
>   :LAST_REPEAT: [2014-01-27 Mon 20:50]
>   :STYLE:    habit
>   :END:

Did you load Org Habit, either through org-modules or through
(require 'org-habit) ?

-- 
 Bastien

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

* Re: Org habit graph not showing
  2014-01-27 10:18 ` Bastien
@ 2014-01-28  6:27   ` Chris Henderson
  2014-01-28  6:42     ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Henderson @ 2014-01-28  6:27 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

On Mon, Jan 27, 2014 at 9:18 PM, Bastien <bzg@gnu.org> wrote:

> Chris Henderson <henders254@gmail.com> writes:
>
> > I’m running org mode version 8.2.3c and emacs version 24.3.1 on OS X
> > Mavericks in the CLI.
> >
> > I’d like to get the org habit graph when I do “alt-x org-agenda a”
> > but there is no graph.
> >
> > My habit.org file looks like this:
> >
> > * TODO write journal
> >   SCHEDULED: <2014-01-28 Tue .+1d/3d>
> >   - State "DONE"       from "TODO"       [2014-01-27 Mon 20:50]
> >   - State "DONE"       from "TODO"       [2013-12-03 Tue 06:37]
> >   - State "DONE"       from "TODO"       [2013-12-02 Mon 21:54]
> >   :PROPERTIES:
> >   :LAST_REPEAT: [2014-01-27 Mon 20:50]
> >   :STYLE:    habit
> >   :END:
>
> Did you load Org Habit, either through org-modules or through
> (require 'org-habit) ?
>

If I put (require 'org-habit) in my .emacs file, when I do C-c c to add
task and press C-c C-c to finish the capture, I get error: Symbol's value
as variable is void: org-bookmark-names-plist

alt-x agenda-view also doesn't auto tab complete. It says [no match]

Thanks.

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

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

* Re: Org habit graph not showing
  2014-01-28  6:27   ` Chris Henderson
@ 2014-01-28  6:42     ` Bastien
  2014-01-28  7:30       ` Chris Henderson
  0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2014-01-28  6:42 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

Chris Henderson <henders254@gmail.com> writes:

> If I put (require 'org-habit) in my .emacs file, when I do C-c c to
> add task and press C-c C-c to finish the capture, I get error:
> Symbol's value as variable is void: org-bookmark-names-plist

That's a symptom of a mixed installation.

How did you install Org?

-- 
 Bastien

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

* Re: Org habit graph not showing
  2014-01-28  6:42     ` Bastien
@ 2014-01-28  7:30       ` Chris Henderson
  2014-01-28  8:44         ` Bastien
  2014-01-28 18:56         ` Chris Henderson
  0 siblings, 2 replies; 10+ messages in thread
From: Chris Henderson @ 2014-01-28  7:30 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

On Tue, Jan 28, 2014 at 5:42 PM, Bastien <bzg@gnu.org> wrote:

> Chris Henderson <henders254@gmail.com> writes:
>
> > If I put (require 'org-habit) in my .emacs file, when I do C-c c to
> > add task and press C-c C-c to finish the capture, I get error:
> > Symbol's value as variable is void: org-bookmark-names-plist
>
> That's a symptom of a mixed installation.
>
> How did you install Org?
>
> --
>  Bastien
>

I install via alt-x package-list. My .emacs has orgmode.org and gnu listed
as package source. I just deleted and installed orgmode again and still
having the issue.

Delete:

D org                20131202     installed  Outline-based notes management
and organizer
D org-plus-contrib   20131202     installed  Outline-based notes management
and organizer

- quit emacs

- launch emacs again and alt-x package-list

I org                20140127     available  Outline-based notes management
and organizer
I org-plus-contrib   20140127     available  Outline-based notes management
and organizer

Got the following warnings:

Compiling file /Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/ob-C.el
at Tue Jan 28 18:24:25 2014
Entering directory `/Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/'

In end of data:
ob-C.el:244:1:Warning: the function `org-babel-result-cond' is not known to
be defined.

Compiling file /Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/ob-R.el
at Tue Jan 28 18:24:25 2014

In end of data:
ob-R.el:391:1:Warning: the function `org-babel-result-cond' is not known to
be defined.

Done (Total of 92 files compiled, 12 failed, 4 skipped)

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

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

* Re: Org habit graph not showing
  2014-01-28  7:30       ` Chris Henderson
@ 2014-01-28  8:44         ` Bastien
  2014-01-28 18:56         ` Chris Henderson
  1 sibling, 0 replies; 10+ messages in thread
From: Bastien @ 2014-01-28  8:44 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

Chris Henderson <henders254@gmail.com> writes:

> I install via alt-x package-list. My .emacs has orgmode.org and gnu
> listed as package source. I just deleted and installed orgmode again
> and still having the issue.

Did you install the ELPA package from a fresh Emacs session?

What is the output of M-x org-version RET?

-- 
 Bastien

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

* Re: Org habit graph not showing
  2014-01-28  7:30       ` Chris Henderson
  2014-01-28  8:44         ` Bastien
@ 2014-01-28 18:56         ` Chris Henderson
  2014-01-28 19:07           ` Bastien
  1 sibling, 1 reply; 10+ messages in thread
From: Chris Henderson @ 2014-01-28 18:56 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

On Tue, Jan 28, 2014 at 6:30 PM, Chris Henderson <henders254@gmail.com>wrote:

> On Tue, Jan 28, 2014 at 5:42 PM, Bastien <bzg@gnu.org> wrote:
>
>> Chris Henderson <henders254@gmail.com> writes:
>>
>> > If I put (require 'org-habit) in my .emacs file, when I do C-c c to
>> > add task and press C-c C-c to finish the capture, I get error:
>> > Symbol's value as variable is void: org-bookmark-names-plist
>>
>> That's a symptom of a mixed installation.
>>
>> How did you install Org?
>>
>> --
>>  Bastien
>>
>
> I install via alt-x package-list. My .emacs has orgmode.org and gnu
> listed as package source. I just deleted and installed orgmode again and
> still having the issue.
>
> Delete:
>
> D org                20131202     installed  Outline-based notes
> management and organizer
> D org-plus-contrib   20131202     installed  Outline-based notes
> management and organizer
>
> - quit emacs
>
> - launch emacs again and alt-x package-list
>
> I org                20140127     available  Outline-based notes
> management and organizer
> I org-plus-contrib   20140127     available  Outline-based notes
> management and organizer
>
> Got the following warnings:
>
> Compiling file
> /Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/ob-C.el at Tue Jan 28
> 18:24:25 2014
> Entering directory `/Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/'
>
> In end of data:
> ob-C.el:244:1:Warning: the function `org-babel-result-cond' is not known
> to be defined.
>
> Compiling file
> /Users/chris/.emacs.d/elpa/org-plus-contrib-20140127/ob-R.el at Tue Jan 28
> 18:24:25 2014
>
> In end of data:
> ob-R.el:391:1:Warning: the function `org-babel-result-cond' is not known
> to be defined.
>
> Done (Total of 92 files compiled, 12 failed, 4 skipped)
>
>
I get two different versions of org-mode coming from the same location
depending on if I enable (require 'org-habit) in my .emacs or not. If I
enable it, I get: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
/Users/chris/.emacs.d/elpa/org-20140127/) and if I don't, I get: Org-mode
version 8.2.5g (8.2.5g-7-gb2dce8-elpa @
/Users/chris/.emacs.d/elpa/org-20140127/)

Is this the underlying issue causing the problem? How can I get rid of this
issue? Should I completely delete /Users/chris/.emacs.d/elpa/ and install
orgmode again?

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

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

* Re: Org habit graph not showing
  2014-01-28 18:56         ` Chris Henderson
@ 2014-01-28 19:07           ` Bastien
  2014-01-29  6:06             ` Chris Henderson
  0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2014-01-28 19:07 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

Chris Henderson <henders254@gmail.com> writes:

> Is this the underlying issue causing the problem? How can I get rid
> of this issue? Should I completely delete /Users/chris/.emacs.d/elpa/
> and install orgmode again?

Yes, please do try that -- delete all ELPA Org instances
and install Org package from a fresh Emacs session.

Then use

  (package-initialize)

before

(require 'org)

in your .emacs.el

-- 
 Bastien

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

* Re: Org habit graph not showing
  2014-01-28 19:07           ` Bastien
@ 2014-01-29  6:06             ` Chris Henderson
  2014-01-30  6:40               ` Chris Henderson
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Henderson @ 2014-01-29  6:06 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

On Wed, Jan 29, 2014 at 6:07 AM, Bastien <bzg@gnu.org> wrote:

> Chris Henderson <henders254@gmail.com> writes:
>
> > Is this the underlying issue causing the problem? How can I get rid
> > of this issue? Should I completely delete /Users/chris/.emacs.d/elpa/
> > and install orgmode again?
>
> Yes, please do try that -- delete all ELPA Org instances
> and install Org package from a fresh Emacs session.
>
> Then use
>
>   (package-initialize)
>
> before
>
> (require 'org)
>
> in your .emacs.el
>

Adding (package-initialize) seem to have done the trick as in I don't get
the version mismatch error anymore. But still can't see the graph. The
following items are on the menu bar when I do
"alt-x org-agenda a" (Org-Agenda Week Ddl Grid Habit vl Wrap)

Thanks.

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

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

* Re: Org habit graph not showing
  2014-01-29  6:06             ` Chris Henderson
@ 2014-01-30  6:40               ` Chris Henderson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Henderson @ 2014-01-30  6:40 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

On Wed, Jan 29, 2014 at 5:06 PM, Chris Henderson <henders254@gmail.com>wrote:

> On Wed, Jan 29, 2014 at 6:07 AM, Bastien <bzg@gnu.org> wrote:
>
>> Chris Henderson <henders254@gmail.com> writes:
>>
>> > Is this the underlying issue causing the problem? How can I get rid
>> > of this issue? Should I completely delete /Users/chris/.emacs.d/elpa/
>> > and install orgmode again?
>>
>> Yes, please do try that -- delete all ELPA Org instances
>> and install Org package from a fresh Emacs session.
>>
>> Then use
>>
>>   (package-initialize)
>>
>> before
>>
>> (require 'org)
>>
>> in your .emacs.el
>>
>
> Adding (package-initialize) seem to have done the trick as in I don't get
> the version mismatch error anymore. But still can't see the graph. The
> following items are on the menu bar when I do
> "alt-x org-agenda a" (Org-Agenda Week Ddl Grid Habit vl Wrap)
>
> Thanks.
>

According to this:
https://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg00238.html

The habit should display on your agenda as a TODO item with a colored bar
after it.

But it doesn't. I only get:

Week-agenda (W05):
Monday     27 January 2014 W05
Tuesday    28 January 2014
Wednesday  29 January 2014
Thursday   30 January 2014
Friday     31 January 2014
Saturday    1 February 2014
Sunday      2 February 2014

for

* TODO meeting
  SCHEDULED: <2014-01-31 Fri .+1d>
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:33]
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:31]
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:30]
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:30]
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:30]
  - State "DONE"       from "TODO"       [2014-01-30 Thu 17:25]
  :PROPERTIES:
  :LAST_REPEAT: [2014-01-30 Thu 17:33]
  :END:
  :LAST_REPEAT: [2014-01-30 Thu 17:25]
  :STYLE:    habit
  :END

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

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

end of thread, other threads:[~2014-01-30  6:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 10:11 Org habit graph not showing Chris Henderson
2014-01-27 10:18 ` Bastien
2014-01-28  6:27   ` Chris Henderson
2014-01-28  6:42     ` Bastien
2014-01-28  7:30       ` Chris Henderson
2014-01-28  8:44         ` Bastien
2014-01-28 18:56         ` Chris Henderson
2014-01-28 19:07           ` Bastien
2014-01-29  6:06             ` Chris Henderson
2014-01-30  6:40               ` Chris Henderson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.