From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Symbol's value as variable is void: org-version
Date: Sat, 28 Apr 2012 23:34:08 +0200 [thread overview]
Message-ID: <87r4v75ynj.fsf@Rainer.invalid> (raw)
In-Reply-To: 548693E5-0047-4B87-AF0F-C31EE721359D@gmail.com
Carsten Dominik writes:
> I am sure I missed the discussion about this - but I do not understand
> why org-version is not loaded by org.el by default. Really, this
> variable belongs into org.el, and if it is not there, org.el should
> require org-version.el.
The variable _is_ in org.el (currently by way of a defvaralias), but the
value is supplied by an autoload. That seemed to be the cleanest way to
inject the version string from Git into it, especially considering that
the same code should be in Emacs and not look for a Git directory during
compilation or at runtime. Currently, if you do not have the autoloads
generated, you don't get a version number — "make autoloads" is doing
that and I#ll have something ready for folks without make soon. Looking
directly for a Git version number if and only if there is no autoload
definition present (using orgmode uncompiled) will be also solved, but
getting it to work correctly takes time. I've just installed XEmacs to
be able to test it myself and unfortunately what is working in Emacs
23/24 can't be used directly in XEmacs, so I'll have to supply
compatibility functions or chose a different implementation.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
next prev parent reply other threads:[~2012-04-28 21:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-28 17:59 Symbol's value as variable is void: org-version Thomas S. Dye
2012-04-28 18:19 ` Martyn Jago
2012-04-28 18:22 ` Martyn Jago
2012-04-28 19:30 ` Thomas S. Dye
2012-04-28 20:01 ` Carsten Dominik
2012-04-28 21:34 ` Achim Gratz [this message]
2012-04-29 10:20 ` 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=87r4v75ynj.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
/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).