emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] Traceback on Org-Export


From: Achim Gratz
Subject: Re: [O] [BUG] Traceback on Org-Export
Date: Sat, 04 Aug 2012 15:06:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]