From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: can't find org-version? Date: Sun, 02 Sep 2012 22:46:01 -0500 Message-ID: <878vcrkbuu.fsf@jnanam.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Nby-00086J-MP for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 23:46:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Nbx-0006gw-3P for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 23:46:06 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:48033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Nbw-0006g9-UM for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 23:46:05 -0400 Received: by obhx4 with SMTP id x4so9780476obh.0 for ; Sun, 02 Sep 2012 20:46:04 -0700 (PDT) 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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. I did have org installed via git, but I decided, given that I'm running emacs24, to change over to the elpa install to see if that made any difference. It didn't. The following work-around patches the problem, but I was wondering how to "really" solve it: (require 'org-version) (setq org-version (org-release)) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ] Dept. of Linguistics & TESOL - University of Texas at Arlington 132E Hammond Hall | Office Hours: tba ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {sent by [[http://www.djcbsoftware.nl/code/mu/index.html][mu4e]] on [[http://www.gnu.org/software/emacs][Emacs]] running under [[http://www.gnu.org/][GNU]]/[[http://www.linuxfoundation.org/][Linux]]} --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html

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. I did have org installed via git, but I decided, given that I'm running emacs24, to change over to the elpa install to see if that made any difference. It didn't.


The following work-around patches the problem, but I was wondering how to "really" solve it:


(require 'org-version)
(setq org-version (org-release))




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ]
Dept. of Linguistics & TESOL - University of Texas at Arlington
132E Hammond Hall | Office Hours: tba
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{sent by mu4e on Emacs running under GNU/Linux}

--==-=-=-- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: can't find org-version? Date: Mon, 3 Sep 2012 08:23:54 +0100 (BST) Message-ID: <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> References: <878vcrkbuu.fsf@jnanam.net> 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]:40914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8R0q-000148-Tw for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 03:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8R0m-0007VC-V8 for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 03:24:00 -0400 Received: from nm8-vm0.bullet.mail.ird.yahoo.com ([77.238.189.203]:38010) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T8R0m-0007V8-JW for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 03:23:56 -0400 In-Reply-To: <878vcrkbuu.fsf@jnanam.net> 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: Benjamin Slade , "emacs-orgmode@gnu.org" Da: Benjamin Slade =0A=0AInviato: Luned=EC 3 Settembre 20= 12 5:46=0A=0A> Since updating to org 7.9, I've had an odd problem with anot= her package that depends on org-mode (org-toodledo). =0A=0A> It reports tha= t it can't find org-version.=0A=0ASo the problem is=A0 in org-toodledo. Did= you ask its maintainer?=0A=0A=0A> The following work-around patches the pr= oblem, =0A=0A=0A> (require 'org-version)=0A> (setq org-version (org-release= ))=0A=0A> but I was wondering how to "really" solve it:=0A=0Ahack org-toodl= edo.=0A=0Acheers,=0AGiovanni=0A From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: can't find org-version? Date: Mon, 3 Sep 2012 15:30:37 +0200 Message-ID: <20120903133037.GA5842@kuru.dyndns-at-home.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Wjp-00020u-8Q for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 09:30:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Wjk-0006bq-Uq for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 09:30:49 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:45954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Wjk-0006be-NB for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 09:30:44 -0400 Received: by bkcjc3 with SMTP id jc3so2187636bkc.0 for ; Mon, 03 Sep 2012 06:30:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.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: emacs-orgmode@gnu.org On Mon, Sep 03, 2012 at 08:23:54AM +0100, Giovanni Ridolfi wrote: > Da: Benjamin Slade > > Inviato: Lunedì 3 Settembre 2012 5:46 > > > 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? > Not necessarily. The question is what does the OP see when he calls M-x org-version. Is the version reported correctly? If an interactive call to org-version returns the correct results then, we could conclude the problem is in org-toodledoo. I however strongly suspect the problem might be a mixed installation. It would be worthwhile if the OP goes through the elpa version of org by hand and ensures there is nothing left over. -- Suvayu Open source is the future. It sets us free. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: can't find org-version? Date: Mon, 03 Sep 2012 09:45:19 -0500 Message-ID: <87r4qjqi68.fsf@jnanam.net> References: <878vcrkbuu.fsf@jnanam.net>, <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8XuD-0004H3-Ma for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:45:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Xu6-0006Ge-L1 for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:45:37 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:48466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Xu6-0006GW-E8 for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:45:30 -0400 Received: by obhx4 with SMTP id x4so10718659obh.0 for ; Mon, 03 Sep 2012 07:45:29 -0700 (PDT) In-reply-to: <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.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: Giovanni Ridolfi Cc: "emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit I did indeed start up by asking the org-toodledo maintainer. He suggested that it must be something funny in my org-setup (and pointed to previous issues like http://thread.gmane.org/gmane.emacs.orgmode/59337 and http://comments.gmane.org/gmane.emacs.orgmode/55412 - but neither of those seems to be my problem), so I thought I'd ask here. The work-around I mentioned seems to work perfectly well, I was just worried that there was some underlying problem in my setup that might cause additional problems at some point. Giovanni Ridolfi writes: > Da: Benjamin Slade > > Inviato: Lunedì 3 Settembre 2012 5:46 > >> 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? > > >> The following work-around patches the problem, > > >> (require 'org-version) >> (setq org-version (org-release)) > >> but I was wondering how to "really" solve it: > > hack org-toodledo. > > cheers, > Giovanni -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ] Dept. of Linguistics & TESOL - University of Texas at Arlington 132E Hammond Hall | Office Hours: tba ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {sent by [[http://www.djcbsoftware.nl/code/mu/index.html][mu4e]] on [[http://www.gnu.org/software/emacs][Emacs]] running under [[http://www.gnu.org/][GNU]]/[[http://www.linuxfoundation.org/][Linux]]} --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I did indeed start up by asking the org-toodledo maintainer. He suggested that it must be something funny in my org-setup (and pointed to previous issues like http://thread.gmane.org/gmane.emacs.orgmode/59337 and http://comments.gmane.org/gmane.emacs.orgmode/55412 - but neither of those seems to be my problem), so I thought I'd ask here.


The work-around I mentioned seems to work perfectly well, I was just worried that there was some underlying problem in my setup that might cause additional problems at some point.


Giovanni Ridolfi writes:


> Da: Benjamin Slade <slade@jnanam.net>
>
> Inviato: Lunedì 3 Settembre 2012 5:46
>
>> 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?
>
>
>> The following work-around patches the problem,
>
>
>> (require 'org-version)
>> (setq org-version (org-release))
>
>> but I was wondering how to "really" solve it:
>
> hack org-toodledo.
>
> cheers,
> Giovanni




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ]
Dept. of Linguistics & TESOL - University of Texas at Arlington
132E Hammond Hall | Office Hours: tba
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{sent by mu4e on Emacs running under GNU/Linux}

--==-=-=-- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher J. White" Subject: Re: can't find org-version? Date: Mon, 03 Sep 2012 07:48:21 -0700 Message-ID: <5044C335.4090004@grierwhite.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> Reply-To: orgmode@grierwhite.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Xwy-0005ta-QL for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:48:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Xwx-0006sC-9z for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:48:28 -0400 Received: from mail222c25.carrierzone.com ([64.29.147.236]:52164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Xwx-0006rc-3u for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 10:48:27 -0400 Received: from cwhite-mbpro.local (c-68-35-171-45.hsd1.nm.comcast.net [68.35.171.45]) (authenticated bits=0) by mail222c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q83EmL2H009216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 3 Sep 2012 14:48:23 GMT In-Reply-To: <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.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: emacs-orgmode@gnu.org I'm the maintainer of the org-toodledo and the OP did indeed contact me first. org-toodledo effectively does: (require 'org) Then uses the variable org-version. This has worked just fine for a few years, but 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 http://comments.gmane.org/gmane.emacs.orgmode/55412 It seems wrong to me that hacking org-toodledo is the appropriate solution. 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. ...cj On 9/3/12 12:23 AM, Giovanni Ridolfi wrote: > Da: Benjamin Slade >> 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? 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: can't find org-version? Date: Tue, 4 Sep 2012 13:55:59 +0200 Message-ID: <20120904115559.GB2267@kuru.dyndns-at-home.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8rjk-0003Hb-7Q for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8rjj-0003XR-2f for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:56:08 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:40037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8rji-0003X5-Ry for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:56:06 -0400 Received: by bkcjc3 with SMTP id jc3so2633486bkc.0 for ; Tue, 04 Sep 2012 04:56:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.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: Giovanni Ridolfi Cc: "orgmode@grierwhite.com" , Achim Gratz , "emacs-orgmode@gnu.org" , "slade@jnanam.net" 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: . 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: can't find org-version? Date: Tue, 04 Sep 2012 08:04:38 -0400 Message-ID: <5685.1346760278@alphaville> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8rsC-0005Q9-WE for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 08:05:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8rs8-0006LE-EG for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 08:04:52 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:47256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8rs8-0006L6-9V for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 08:04:48 -0400 In-Reply-To: Message from Giovanni Ridolfi of "Tue\, 04 Sep 2012 12\:14\:43 BST." <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.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: Giovanni Ridolfi Cc: "orgmode@grierwhite.com" , Achim Gratz , "emacs-orgmode@gnu.org" , "slade@jnanam.net" Giovanni Ridolfi wrote: > Would you please try to add (require 'org-install) instead of (require 'o= rg)=C2=A0 and see if org-toodledo works? >=20 > > As mentioned in one of the above threads, the version of a package is p= retty fundamental > >=C2=A0 and I'd expect it to be provided by the base require. >=20 > The variable org-version *is indeed provided* but not in the file your co= de expects it.=20 >=20 >=20 Is it? I can only find a function named org-version, not a variable. Nick 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 14:13:10 +0100 (BST) Message-ID: <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> 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]:49717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8swR-0007vY-D7 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 09:13:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8swK-0001qU-7y for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 09:13:19 -0400 Received: from nm25-vm7.bullet.mail.ird.yahoo.com ([212.82.109.208]:48807) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T8swJ-0001qG-Tp for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 09:13:12 -0400 In-Reply-To: <5685.1346760278@alphaville> 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: "nicholas.dokos@hp.com" Cc: "orgmode@grierwhite.com" , Achim Gratz , "emacs-orgmode@gnu.org" , "slade@jnanam.net" Da: Nick Dokos =0A=0AInviato: Marted=EC 4 Settembre = 2012 14:04=0A=0A> Giovanni Ridolfi wrote:=0A>> = Would you please try to add (require 'org-install) instead of (require 'org= )=A0 and see if org-toodledo works?=0A>> =0A>> > As mentioned in one of the= above threads, the version of a package is pretty fundamental=0A>> >=A0 an= d I'd expect it to be provided by the base require.=0A> >=0A>> The variable= org-version *is indeed provided* but not in the file your code expects it.= =0A>> =0A> Is it? I can only find a function named org-version, not a vari= able.=0A=0AHi, Nick,=0A=0Ayou're right, therfore, obviously ;-) I was wrong= .=0A=0AThe function is org-version and it gets its arguments from=A0 the va= riables=0Aorg-release=0Aand=0Aorg-git-version=0Adefined in the file=A0 lisp= /org-version.el=0A=0Athanks for pointing it up.=0A=0Acheers,=0AGiovanni From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher J. White" Subject: Re: can't find org-version? Date: Tue, 04 Sep 2012 07:34:35 -0700 Message-ID: <5046117B.9050400@grierwhite.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> Reply-To: orgmode@grierwhite.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8uDJ-0007be-Nb for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:34:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8uDE-0006Ge-1G for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:34:49 -0400 Received: from mail7c25.carrierzone.com ([64.29.147.17]:49797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8uDD-0006GV-QQ for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:34:43 -0400 Received: from cwhite-mbpro.local (mobile-198-228-209-003.mycingular.net [198.228.209.3]) (authenticated bits=0) by mail7c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q84EYZNn002739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 Sep 2012 14:34:41 GMT In-Reply-To: <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.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: emacs-orgmode@gnu.org So in version 7.8 and earlier, org-version is both a variable and a=20 function. The function is not useful to coders because it displays the=20 version string as a message: (org-version) "Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)" org-version "7.8.03" I used org-version as a variable because there was an incompatibility=20 between 7.7 and 7.8 for the function org-export-remove-or-extract-drawers. So, what is the proper way to get the version number in 7.9? It seems=20 awkward to me that all clients would have to require something other=20 than just "org" to get the version number, but I can live with that. What I don't want to do, though, is mess around with testing for the=20 existence of various functions and variables just to figure out where to=20 get the version number from. Why not just keep the variable org-version around just like in 7.8 and=20 earlier? Otherwise, can someone please post a code snippet that gets me the=20 version string "7.8.03" that will work with 7.7, 7.8 and 7.9? ...cj On 9/4/12 6:13 AM, Giovanni Ridolfi wrote: > Da: Nick Dokos > > Inviato: Marted=EC 4 Settembre 2012 14:04 > >> Giovanni Ridolfi wrote: >>> Would you please try to add (require 'org-install) instead of (requir= e 'org) and see if org-toodledo works? >>> >>>> As mentioned in one of the above threads, the version of a package i= s 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 you= r code expects it. >>> >> Is it? I can only find a function named org-version, not a variable. > > Hi, Nick, > > you're right, therfore, obviously ;-) I was wrong. > > The function is org-version and it gets its arguments from the variabl= es > org-release > and > org-git-version > defined in the file lisp/org-version.el > > thanks for pointing it up. > > cheers, > Giovanni > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: can't find org-version? Date: Tue, 04 Sep 2012 10:59:41 -0400 Message-ID: <4419.1346770781@alphaville.americas.hpqcorp.net> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8ubX-0003np-47 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:59:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8ubS-0006O6-7A for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:59:51 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:47537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8ubS-0006O1-1x for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 10:59:46 -0400 In-Reply-To: Message from "Christopher J. White" of "Tue\, 04 Sep 2012 07\:34\:35 PDT." <5046117B.9050400@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 Cc: emacs-orgmode@gnu.org Christopher J. White wrote: > So in version 7.8 and earlier, org-version is both a variable and a > function. The function is not useful to coders because it displays > the version string as a message: >=20 Not so: there are three optional arguments - if the last one is nil (or not provided), no message is printed in the echo area. The others control whether to insert the string at point and whether to use the abbreviated version or the full git version. So just add one of the following at the beginning of org-toodledo and you should be set: (setq org-version (org-version)) or (setq org-version (org-version nil t)) depending on what string you want. Nick > (org-version) > "Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)" >=20 > org-version > "7.8.03" >=20 > I used org-version as a variable because there was an incompatibility > between 7.7 and 7.8 for the function > org-export-remove-or-extract-drawers. >=20 > So, what is the proper way to get the version number in 7.9? It seems > awkward to me that all clients would have to require something other > than just "org" to get the version number, but I can live with that. >=20 > What I don't want to do, though, is mess around with testing for the > existence of various functions and variables just to figure out where > to get the version number from. >=20 > Why not just keep the variable org-version around just like in 7.8 and > earlier? >=20 > Otherwise, can someone please post a code snippet that gets me the > version string "7.8.03" that will work with 7.7, 7.8 and 7.9? >=20 > ...cj >=20 > On 9/4/12 6:13 AM, Giovanni Ridolfi wrote: > > Da: Nick Dokos > > > > Inviato: Marted=C3=AC 4 Settembre 2012 14:04 > > > >> Giovanni Ridolfi wrote: > >>> Would you please try to add (require 'org-install) instead of (requir= e 'org) and see if org-toodledo works? > >>> > >>>> As mentioned in one of the above threads, the version of a package i= s 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 you= r code expects it. > >>> > >> Is it? I can only find a function named org-version, not a variable. > > > > Hi, Nick, > > > > you're right, therfore, obviously ;-) I was wrong. > > > > The function is org-version and it gets its arguments from the variabl= es > > org-release > > and > > org-git-version > > defined in the file lisp/org-version.el > > > > thanks for pointing it up. > > > > cheers, > > Giovanni > > > > > > >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: can't find org-version? Date: Tue, 04 Sep 2012 13:15:32 -0400 Message-ID: <7390.1346778932@alphaville.americas.hpqcorp.net> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8wj3-00050r-7Y for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 13:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8wiv-0002lG-DS for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 13:15:45 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:8403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8wiv-0002kv-6i for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 13:15:37 -0400 In-Reply-To: Message from "Christopher J. White" of "Tue\, 04 Sep 2012 07\:34\:35 PDT." <5046117B.9050400@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 Cc: emacs-orgmode@gnu.org Christopher J. White wrote: > So in version 7.8 and earlier, org-version is both a variable and a > function. The function is not useful to coders because it displays > the version string as a message: >=20 > (org-version) > "Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)" >=20 > org-version > "7.8.03" >=20 > I used org-version as a variable because there was an incompatibility > between 7.7 and 7.8 for the function > org-export-remove-or-extract-drawers. >=20 > So, what is the proper way to get the version number in 7.9? It seems > awkward to me that all clients would have to require something other > than just "org" to get the version number, but I can live with that. >=20 > What I don't want to do, though, is mess around with testing for the > existence of various functions and variables just to figure out where > to get the version number from. >=20 Disregard my previous email: in 7.7 (and maybe 7.8), org-version (the funct= ion) does not return a simple "7.7". Here is a snippet of code that works in those two and in 7.9.1 as well: (setq version (if (boundp 'org-version) org-version (org-version)) It does not meet your requirements in the last paragraph above, but it's not too bad. I just hope that I haven't missed anything this time. Nick > Why not just keep the variable org-version around just like in 7.8 and > earlier? >=20 > Otherwise, can someone please post a code snippet that gets me the > version string "7.8.03" that will work with 7.7, 7.8 and 7.9? >=20 > ...cj >=20 > On 9/4/12 6:13 AM, Giovanni Ridolfi wrote: > > Da: Nick Dokos > > > > Inviato: Marted=C3=AC 4 Settembre 2012 14:04 > > > >> Giovanni Ridolfi wrote: > >>> Would you please try to add (require 'org-install) instead of (requir= e 'org) and see if org-toodledo works? > >>> > >>>> As mentioned in one of the above threads, the version of a package i= s 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 you= r code expects it. > >>> > >> Is it? I can only find a function named org-version, not a variable. > > > > Hi, Nick, > > > > you're right, therfore, obviously ;-) I was wrong. > > > > The function is org-version and it gets its arguments from the variabl= es > > org-release > > and > > org-git-version > > defined in the file lisp/org-version.el > > > > thanks for pointing it up. > > > > cheers, > > Giovanni > > > > > > >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher J. White" Subject: Re: can't find org-version? Date: Tue, 04 Sep 2012 13:03:22 -0700 Message-ID: <50465E8A.7060901@grierwhite.com> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> Reply-To: orgmode@grierwhite.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8zLT-00033e-Qx for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 16:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8zLS-00036G-U4 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 16:03:35 -0400 Received: from mail7c25.carrierzone.com ([64.29.147.17]:51981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8zLS-00035p-NT for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 16:03:34 -0400 Received: from cwhite-mbpro.local (mobile-198-228-196-110.mycingular.net [198.228.196.110]) (authenticated bits=0) by mail7c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q84K3O1G023351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 Sep 2012 20:03:30 GMT In-Reply-To: <7390.1346778932@alphaville.americas.hpqcorp.net> 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: emacs-orgmode@gnu.org Hi Nick, On 9/4/12 10:15 AM, Nick Dokos wrote: > Here is a snippet of code that works in those two and in 7.9.1 as well: > > (setq version (if (boundp 'org-version) > org-version > (org-version)) > Thanks -- I do not have a copy of 7.9 available, so wasn't sure what parameters to call. I can certainly add this to org-toodledo.el, but I guess I fail to understand why it was changed in the first place. The above solution means that every package out there that is dependent on org and needs to look up the version needs to change to work with 7.9 If org simply kept the org-version as a variable, there would be no need for this. If 7.9 is still an early release, I'd suggest adding the org-version variable back to org so as not to break other packages that may also depend the version string. ...cj From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 08:55:02 +0200 Message-ID: <87k3w7r67t.fsf@Rainer.invalid> References: <878vcrkbuu.fsf@jnanam.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Vzl-0008NI-O8 for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 02:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9Vzf-0001KQ-Mf for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 02:55:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:37712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Vzf-0001Io-FN for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 02:55:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9Vze-0005Y4-DR for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 08:55:14 +0200 Received: from pd9eb43c2.dip.t-dialin.net ([217.235.67.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 08:55:14 +0200 Received: from Stromeko by pd9eb43c2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 08:55:14 +0200 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: emacs-orgmode@gnu.org Benjamin Slade writes: > 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. I did have org installed via git, but I > decided, given that I'm running emacs24, to change over to the elpa > install to see if that made any difference. It didn't. > > The following work-around patches the problem, but I was wondering how > to "really" solve it: > > > (require 'org-version) > (setq org-version (org-release)) The variable org-version was an internal one that has been removed. The org-toodledo package should not rely on internal variables, but rather use the official interface, in this case the function org-version. HTH, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 19:31:42 +0200 Message-ID: <87fw6vdpmp.fsf@Rainer.invalid> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> <50465E8A.7060901@grierwhite.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fvn-0001YD-Ia for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:31:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9fvm-0000vG-1n for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:31:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:58292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fvl-0000v3-SR for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:31:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9fvl-0006P3-SU for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 19:31:53 +0200 Received: from pd9eb4cfb.dip.t-dialin.net ([217.235.76.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 19:31:53 +0200 Received: from Stromeko by pd9eb4cfb.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 19:31:53 +0200 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: emacs-orgmode@gnu.org Christopher J. White writes: > If 7.9 is still an early release, I'd suggest adding the org-version > variable back to org so as not to break other packages that may also > depend the version string. Your use of the variable org-version was completely unnecessary, so this is a non-issue. I've just answered your mail that you apparently sent off-list to me. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 19:43:38 +0200 Message-ID: <871uif2gj9.fsf@altern.org> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> <50465E8A.7060901@grierwhite.com> <87fw6vdpmp.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9g79-00057Q-Ju for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:43:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9g73-0004Up-E1 for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:43:39 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9g73-0004Uk-7k for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:43:33 -0400 Received: by wibhn17 with SMTP id hn17so1367360wib.12 for ; Thu, 06 Sep 2012 10:43:32 -0700 (PDT) In-Reply-To: <87fw6vdpmp.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 06 Sep 2012 19:31:42 +0200") 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: Achim Gratz Cc: emacs-orgmode@gnu.org As this is the standard way of checking against a package's version, and now that (org-version) does the right thing, I reintroduced the constant `org-version'. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 19:50:51 +0200 Message-ID: <87wr0711ms.fsf@altern.org> References: <878vcrkbuu.fsf@jnanam.net> <87k3w7r67t.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9gE8-0006E4-Ga for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9gE3-000701-RK for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:50:52 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:56697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9gE3-0006zr-Ki for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:50:47 -0400 Received: by wibhq4 with SMTP id hq4so5306588wib.12 for ; Thu, 06 Sep 2012 10:50:46 -0700 (PDT) In-Reply-To: <87k3w7r67t.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 06 Sep 2012 08:55:02 +0200") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > The variable org-version was an internal one that has been removed. The > org-toodledo package should not rely on internal variables, but rather > use the official interface, in this case the function org-version. In the real world, developers rely on a set of stable expectations. Being able to check against `org-version' as a *variable* is one of them, and a very stable one. IMO, it is counter-productive to deceive this expectation and to ask developers to read org.el to know how they can check against Org's version. The way `org-version' is set internally is another topic, and I'm glad you finally come up with something that relies only on make/git. But geee... this has been a long and painful way to go, and I don't count how many users are/were confused about this. The original motivation for this was to spare the maintainer the sweat of possible merge conflicts when syncing with Emacs... which were just very unlikly to happen anyway. So, let's focus more on the users, and less on conceptual purity. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 20:09:44 +0200 Message-ID: <87392vdnvb.fsf@Rainer.invalid> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> <50465E8A.7060901@grierwhite.com> <87fw6vdpmp.fsf@Rainer.invalid> <871uif2gj9.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9gWt-0003gm-Ou for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:10:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9gWr-0004ji-MR for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:10:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:56039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9gWr-0004j4-Fd for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:10:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9gWp-0002Kp-HC for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 20:10:11 +0200 Received: from pd9eb41b3.dip.t-dialin.net ([217.235.65.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 20:10:11 +0200 Received: from Stromeko by pd9eb41b3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 20:10:11 +0200 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: emacs-orgmode@gnu.org Bastien writes: > As this is the standard way of checking against a package's version, and > now that (org-version) does the right thing, I reintroduced the constant > `org-version'. You have tested you always get the correct result with Emacs 23 and 24, XEmacs 21.5, with and without compilation, with and without generated autoloads and org-version and with and without load-path shadowings both from Emacs' built-in Org and version installed by the user and via ELPA, both after requiring just 'org and 'org-install, right? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 20:20:51 +0200 Message-ID: <87vcfrc8sc.fsf@Rainer.invalid> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> <50465E8A.7060901@grierwhite.com> <87fw6vdpmp.fsf@Rainer.invalid> <871uif2gj9.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9ghQ-00078X-KR for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9ghO-0008Pc-Sw for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:21:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:39044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9ghO-0008Np-MN for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 14:21:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9ghM-0007Mh-K4 for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 20:21:04 +0200 Received: from pd9eb30ef.dip.t-dialin.net ([217.235.48.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 20:21:04 +0200 Received: from Stromeko by pd9eb30ef.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2012 20:21:04 +0200 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: emacs-orgmode@gnu.org Bastien writes: > As this is the standard way of checking against a package's version, and > now that (org-version) does the right thing, I reintroduced the constant > `org-version'. You might want to fix this in maint (not master), BTW. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: can't find org-version? Date: Thu, 06 Sep 2012 21:14:42 +0200 Message-ID: <87k3w70xr1.fsf@altern.org> References: <878vcrkbuu.fsf@jnanam.net> <1346657034.96590.YahooMailNeo@web29806.mail.ird.yahoo.com> <5044C335.4090004@grierwhite.com> <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> <5685.1346760278@alphaville> <1346764390.60712.YahooMailNeo@web29805.mail.ird.yahoo.com> <5046117B.9050400@grierwhite.com> <7390.1346778932@alphaville.americas.hpqcorp.net> <50465E8A.7060901@grierwhite.com> <87fw6vdpmp.fsf@Rainer.invalid> <871uif2gj9.fsf@altern.org> <87vcfrc8sc.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9hXH-0002jD-Pb for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 15:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9hXD-0000vb-LH for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 15:14:43 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:39411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9hXD-0000vP-Ew for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 15:14:39 -0400 Received: by weys10 with SMTP id s10so1497622wey.0 for ; Thu, 06 Sep 2012 12:14:38 -0700 (PDT) In-Reply-To: <87vcfrc8sc.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 06 Sep 2012 20:20:51 +0200") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Bastien writes: >> As this is the standard way of checking against a package's version, and >> now that (org-version) does the right thing, I reintroduced the constant >> `org-version'. > > You might want to fix this in maint (not master), BTW. Yes, this is what I did. -- Bastien