From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: can't find org-version? Date: Tue, 4 Sep 2012 12:14:43 +0100 (BST) Message-ID: <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> Reply-To: Giovanni Ridolfi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8r5l-00083y-UT for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:14:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8r5h-0007OA-F1 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:14:49 -0400 Received: from nm10-vm0.bullet.mail.ird.yahoo.com ([77.238.189.90]:32948) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T8r5h-0007O6-4h for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:14:45 -0400 In-Reply-To: <5044C335.4090004@grierwhite.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "orgmode@grierwhite.com" , "emacs-orgmode@gnu.org" Cc: Achim Gratz , "slade@jnanam.net" On 9/3/12 12:23 AM, Giovanni Ridolfi wrote:=0A>> Da: Benjamin Slade =0A>>> Since updating to org 7.9, I've had an odd problem with a= nother package that depends on org-mode (org-toodledo).=0A>>> It reports th= at it can't find org-version.=0A>> =0A>> So the problem is=A0 in org-toodle= do. Did you ask its maintainer?=0A=0A> Da: Christopher J. White =0A> Inviato: Luned=EC 3 Settembre 2012 16:48=0A=0A> I'm the m= aintainer of the org-toodledo and the OP did indeed contact me first.=0A=0A= Hi, Christopher,=0A=0A> org-toodledo effectively does:=0A> =A0 (require 'or= g)=0A> Then uses the variable org-version.=A0 =0A> This has worked just fin= e for a few years, but =0A=0A... but since few months the place where org-v= ersion is defined has changed =0Afrom org.el=0Ato org-version.el =0Athat is= generated during compilation IIRC (!)=A0=A0 If I'm wrong=A0 Achim Gratz wi= ll correct me.=0A=0A> when the OP upgraded to 7.9, the org-toodledo functio= n that checks=0A> the org-version yields an error along the lines of variab= le not defined.=0A=0A> I did some googling and came across these threads wh= ich seemed relevant:=0A>=A0 http://thread.gmane.org/gmane.emacs.orgmode/593= 37=0A(august 2012)=0A>=A0 http://comments.gmane.org/gmane.emacs.orgmode/554= 12=0A(april 2012, really old thread)=0A=0A> It seems wrong to me that hacki= ng org-toodledo is the appropriate solution.=A0 =0AI disagree.=0A=0AWould y= ou please try to add (require 'org-install) instead of (require 'org)=A0 an= d see if org-toodledo works?=0A=0A> As mentioned in one of the above thread= s, the version of a package is pretty fundamental=0A>=A0 and I'd expect it = to be provided by the base require.=0A=0AThe variable org-version *is indee= d provided* but not in the file your code expects it. =0A=0A=0Acheers,=0AGi= ovanni