[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] can't find org-version?

From: Giovanni Ridolfi
Subject: Re: [O] can't find org-version?
Date: Tue, 4 Sep 2012 12:14:43 +0100 (BST)

On 9/3/12 12:23 AM, Giovanni Ridolfi wrote:
>> Da: Benjamin Slade <address@hidden>
>>> Since updating to org 7.9, I've had an odd problem with another package 
>>> that depends on org-mode (org-toodledo).
>>> It reports that it can't find org-version.
>> So the problem is  in org-toodledo. Did you ask its maintainer?

> Da: Christopher J. White <address@hidden>
> Inviato: Lunedì 3 Settembre 2012 16:48

> I'm the maintainer of the org-toodledo and the OP did indeed contact me first.

Hi, Christopher,

> org-toodledo effectively does:
>   (require 'org)
> Then uses the variable org-version.  
> This has worked just fine for a few years, but 

... but since few months the place where org-version is defined has changed 
from org.el
to org-version.el 
that is generated during compilation IIRC (!)   If I'm wrong  Achim Gratz will 
correct me.

> when the OP upgraded to 7.9, the org-toodledo function that checks
> the org-version yields an error along the lines of variable not defined.

> I did some googling and came across these threads which seemed relevant:
>  http://thread.gmane.org/gmane.emacs.orgmode/59337
(august 2012)
>  http://comments.gmane.org/gmane.emacs.orgmode/55412
(april 2012, really old thread)

> It seems wrong to me that hacking org-toodledo is the appropriate solution.  
I disagree.

Would you please try to add (require 'org-install) instead of (require 'org)  
and see if org-toodledo works?

> As mentioned in one of the above threads, the version of a package is pretty 
> fundamental
>  and I'd expect it to be provided by the base require.

The variable org-version *is indeed provided* but not in the file your code 
expects it. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]