emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] babel perl issue


From: Bastien
Subject: Re: [O] babel perl issue
Date: Wed, 12 Dec 2012 16:59:35 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Achim,

Achim Gratz <address@hidden> writes:

> Eric Schulte writes:
>> See http://orgmode.org/manual/Languages.html for the documentation on
>> how to activate and disable org-babel languages.
>
> That actually produces the error:
>
> File mode specification error: (void-variable org-babel-tangle-lang-exts)
>
> as the OP has found out (and I can reproduce it).
>
> The reason is that none of the ob-<lang>.el files do a (require
> ob-tangle), but try to change a defcustom in ob.tangle.el that is only
> declared, but not yet available at the time.  I've quickfixed it by
> moving the require for ob-tangle in org.el to the beginning of the file,
> but this is now relying on the fact that org is implicitly loaded for
> getting the major mode set up, so all the babel language files still
> need to be cleaned up.

I can't reproduce this.

I have a ~/emacs.el file containing

    (org-babel-do-load-languages
          'org-babel-load-languages
          '((perl . t)))

then ~$ emacs -Q -l ~/emacs.el loads correctly and
`org-babel-load-languages' is correctly set up.

Thanks for any help on reproducing the problem!

-- 
 Bastien



reply via email to

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