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