emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: "Lisp error: (void-variable org-babel-tangle-lang-exts)" when loading languages at startup
Date: Sun, 24 Mar 2013 20:41:17 -0400	[thread overview]
Message-ID: <CA+MaCJfSVYonvuUN=XNdk65THGVr=Xu3LrS5GvKEw_Qok-b5yg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]

Hi, all. First bug report here, so please let me know if I can be more
helpful / less verose. I didn't see this previously reported on the mailing
list and I'm not yet familiar enough to patch it myself.

After updating, I'm receiving the error in the subject line. For reference,
I'm running Arch and am using the latest org from elpa. So:

Emacs  : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4)
 of 2013-03-18 on eric
Package: Org-mode version 7.9.4 (7.9.4-elpa @

To produce the error, I start a fresh instance with emacs -Q, then run the

(add-to-list 'load-path "/home/trevor/.emacs.d/elpa/org-20130318/")
(setq org-babel-load-languages '((python . t))) ; also works with latex, C,
ruby, at which point I got bored
(require 'org)

I expect this to load just fine, but instead I receive a backtrace that
freaks out at line #39 in ob-python.el (similarly for other language

38     (defvar org-babel-tangle-lang-exts)
39     (add-to-list 'org-babel-tangle-lang-exts '("python" . "py"))

Seems that the defvar counts for nothing? Perhaps because it's already a
defcustom in ob-tangle.el? I don't understand emacs well enough to know,
but I will say that inserting a "(require 'ob-tangle)" anywhere before the
offending line "solves" the problem.


[-- Attachment #2: Type: text/html, Size: 1840 bytes --]

             reply	other threads:[~2013-03-25  0:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25  0:41 Trevor Murphy [this message]
2013-03-25  5:54 ` Bug: "Lisp error: (void-variable org-babel-tangle-lang-exts)" when loading languages at startup Bastien
2013-03-25  8:47 ` Andreas Röhler
2013-03-25  9:05 ` Achim Gratz

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:

  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='CA+MaCJfSVYonvuUN=XNdk65THGVr=Xu3LrS5GvKEw_Qok-b5yg@mail.gmail.com' \
    --to=trevor.m.murphy@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).