emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Suvayu Ali
Subject: Re: [O] can't find org-version?
Date: Tue, 4 Sep 2012 13:55:59 +0200
User-agent: Mutt/1.5.21 (2011-07-01)

Hi Giovanni,

On Tue, Sep 04, 2012 at 12:14:43PM +0100, Giovanni Ridolfi wrote:
> 
> > 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.
> 

I think the change you mention above is transparent to both the end-user
and thrid-party packages.  It should be immaterial here.  Of course
Achim should correct me if I'm wrong. :)

> > 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?
> 

The (require 'org-install) bit is supposed to be user code, specific for
each installation; it is highly dependent on the load-path.  IMO, the
problem here is the OP[1] has a mixed installation and neither org or
org-toodledo needs any fix.

There are many discussions about mixed installations in the archive and
Worg.  It would be worthwhile if the OP went through this one in
particular: <http://orgmode.org/worg/org-faq.html#mixed-install>.

Hope this helps,

Cheers,

PS: I wish there was a canonical way to diagnose mixed installs. :-|


Footnotes:

[1] I forgot who it was, sorry.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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