From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [BUG] Traceback on Org-Export Date: Sat, 04 Aug 2012 15:06:54 +0200 Message-ID: <87628yrekx.fsf@Rainer.invalid> References: <54085.1343912461@gregair> <87haskz8ur.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxe4d-0000Ll-OI for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 09:07:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sxe4c-0001Pf-Hc for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 09:07:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:51177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxe4c-0001Pb-AU for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 09:07:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sxe4Y-0007Vq-Oa for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 15:07:14 +0200 Received: from pd9eb493a.dip.t-dialin.net ([217.235.73.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Aug 2012 15:07:14 +0200 Received: from Stromeko by pd9eb493a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Aug 2012 15:07: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 Luis Anaya writes: > In org-toggle-heading: > org.el:19364:26:Warning: attempt to let-bind constant `org-outline-regexp-bol' Are you using Emacs23? Because I don't get these on Emacs24 and they look positively wierd... Plus, it's one of those instances where it seems to make a difference in which order the files get compiled. If I compile _only_ org.el, I only get: In toplevel form: org.el:4994:1:Error: Symbol's value as variable is void: org-outline-regexp-bol at the line of (require 'org-element). Org-element can't require org since that would become recursive, so it should actually declare those variables, but that doesn't work since it evaluates some constants at compile-time and without a (require 'org) these aren't defined yet. Trying to workaround this issue with eval-and-compile seems possible, but doesn't really appeal to me. This seems to be further fallout from moving the require forms in org.el past the constant and variable definitions (which does make a difference for Emacs23 vs Emacs24 since the scope rules are now different). Bastien, what was the problem you were trying to solve there? In any case, the interaction between org and org-element needs a serious overhaul and while we're at it this work should be extended to other subsystems of org. 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