From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: HTML export fails with (void-variable org-version) Date: Thu, 26 Apr 2012 06:42:34 +0200 Message-ID: <87zk9zm7d1.fsf@Rainer.invalid> References: <87mx62y4k0.fsf@gmx.com> <8762cq1n28.fsf@gnu.org> <87obqi304y.fsf@Rainer.invalid> <87fwbrdbps.fsf@norang.ca> <877gx3cyh7.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNGXb-0007o5-6c for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 00:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNGXZ-0002ni-62 for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 00:42:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:43578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNGXY-0002nd-VU for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 00:42:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SNGXV-0008He-BU for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 06:42:45 +0200 Received: from pd9eb58eb.dip.t-dialin.net ([217.235.88.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 06:42:45 +0200 Received: from Stromeko by pd9eb58eb.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 06:42:45 +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 Bernt Hansen writes: > I tried that... and installed emacs under Cygwin (so it can find emacs > to run emacs -batch) and then had to fix permissions on org-install > (since it's on a windows drive) before make autoloads worked. It's preferrable to use NTEmacs for this step, even though the .elc files should be compatible. > I didn't spend any time trying to correct install locations in the > makefile. I run org-mode without compiling any sources normally and > having to do the extra make step each time I move around the source tree > isn't going to be very enjoyable. I have no idea if I need to rerun > this make autoloads command on a regular basis or not. Yes and no. As long as all the autoloaded functions continue to be in the same load-file and their names don't change and there are no new functions that need to be autoloaded, org-install.el effectively isn't going to change. But that's a deception, since there is no way you could determine if it should have been changed unless you actually generate it anew. As I said, I'm still working to provide specifically for the case that org-version.el is missing (which would normally produce an autoloaded defconst org-version...) and injecting an org-version from looking at the git version of the work-tree (if it finds one). That will also encompass an (autoloaded) function (with the load-file located in UTILITIES/ most likely) that you can call in emacs to re-generate org-install.el, since org-install.el is absolutely not optional. So going forward make will not be a requirement for simply using org either from Git or from tarball anymore. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves