emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: "orgmode@grierwhite.com" <orgmode@grierwhite.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Cc: Achim Gratz <stromeko@nexgo.de>, "slade@jnanam.net" <slade@jnanam.net>
Subject: Re: can't find org-version?
Date: Tue, 4 Sep 2012 12:14:43 +0100 (BST)	[thread overview]
Message-ID: <1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com> (raw)
In-Reply-To: <5044C335.4090004@grierwhite.com>

On 9/3/12 12:23 AM, Giovanni Ridolfi wrote:
>> Da: Benjamin Slade <slade@jnanam.net>
>>> 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 <orgmode@grierwhite.com>
> 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. 


cheers,
Giovanni

  reply	other threads:[~2012-09-04 11:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03  3:46 can't find org-version? Benjamin Slade
2012-09-03  7:23 ` Giovanni Ridolfi
2012-09-03 13:30   ` Suvayu Ali
2012-09-03 14:45   ` Benjamin Slade
2012-09-03 14:48   ` Christopher J. White
2012-09-04 11:14     ` Giovanni Ridolfi [this message]
2012-09-04 11:55       ` Suvayu Ali
2012-09-04 12:04       ` Nick Dokos
2012-09-04 13:13         ` Giovanni Ridolfi
2012-09-04 14:34           ` Christopher J. White
2012-09-04 14:59             ` Nick Dokos
2012-09-04 17:15             ` Nick Dokos
2012-09-04 20:03               ` Christopher J. White
2012-09-06 17:31                 ` Achim Gratz
2012-09-06 17:43                   ` Bastien
2012-09-06 18:09                     ` Achim Gratz
2012-09-06 18:20                     ` Achim Gratz
2012-09-06 19:14                       ` Bastien
2012-09-06  6:55 ` Achim Gratz
2012-09-06 17:50   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346757283.96924.YahooMailNeo@web29806.mail.ird.yahoo.com \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@grierwhite.com \
    --cc=slade@jnanam.net \
    --cc=stromeko@nexgo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).