From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trevor Murphy 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307c9fce46556204d8b51139 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJvTn-0000hW-KV for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 20:41:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJvTm-0004aR-2l for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 20:41:39 -0400 Received: from mail-vb0-x229.google.com ([2607:f8b0:400c:c02::229]:52813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJvTl-0004aH-Uz for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 20:41:38 -0400 Received: by mail-vb0-f41.google.com with SMTP id l22so3736694vbn.0 for ; Sun, 24 Mar 2013 17:41:37 -0700 (PDT) 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 --20cf307c9fce46556204d8b51139 Content-Type: text/plain; charset=ISO-8859-1 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 @ /home/trevor/.emacs.d/elpa/org-20130318/) To produce the error, I start a fresh instance with emacs -Q, then run the following: (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 examples): 38 (defvar org-babel-tangle-lang-exts) 39 (add-to-list 'org-babel-tangle-lang-exts '("python" . "py")) 40 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. Trev --20cf307c9fce46556204d8b51139 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 mai= ling 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 =A0: GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4)
=A0of 2013-03-18 on eric
Package: Org-mode version 7.9.4 (7.9.4-elpa @ /home/trevor/.emacs.d/elpa/org-20130318/)

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

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

I expect this to load just fin= e, but instead I receive a backtrace that freaks out at line #39 in ob-pyth= on.el (similarly for other language examples):

38 =A0 =A0 (defvar org-babel-tangle-lang-exts)
<= div>39 =A0 =A0 (add-to-list 'org-babel-tangle-lang-exts '("pyt= hon" . "py"))
40

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 kn= ow, but I will say that inserting a "(require 'ob-tangle)" an= ywhere before the offending line "solves" the problem.

Trev
--20cf307c9fce46556204d8b51139--