Re: [O] Org habit graph not showing

2014-01-29 Thread Chris Henderson
On Wed, Jan 29, 2014 at 5:06 PM, Chris Henderson henders...@gmail.comwrote:

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

 Chris Henderson henders...@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
Tuesday28 January 2014
Wednesday  29 January 2014
Thursday   30 January 2014
Friday 31 January 2014
Saturday1 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


Re: [O] Org habit graph not showing

2014-01-28 Thread Bastien
Chris Henderson henders...@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



Re: [O] Org habit graph not showing

2014-01-28 Thread Chris Henderson
On Tue, Jan 28, 2014 at 6:30 PM, Chris Henderson henders...@gmail.comwrote:

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

 Chris Henderson henders...@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 org20131202 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 org20140127 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?


Re: [O] Org habit graph not showing

2014-01-28 Thread Chris Henderson
On Wed, Jan 29, 2014 at 6:07 AM, Bastien b...@gnu.org wrote:

 Chris Henderson henders...@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.


Re: [O] Org habit graph not showing

2014-01-27 Thread Bastien
Chris Henderson henders...@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



Re: [O] Org habit graph not showing

2014-01-27 Thread Bastien
Chris Henderson henders...@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



Re: [O] Org habit graph not showing

2014-01-27 Thread Chris Henderson
On Tue, Jan 28, 2014 at 5:42 PM, Bastien b...@gnu.org wrote:

 Chris Henderson henders...@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 org20131202 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 org20140127 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)