From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: babel perl issue Date: Wed, 12 Dec 2012 16:59:35 +0100 Message-ID: <87zk1j1ct4.fsf@bzg.ath.cx> References: <87a9tntr29.fsf@Rainer.invalid> <87sj7fp7om.fsf@gmail.com> <87wqwrrml2.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tioio-0002rP-0H for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 10:59:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tioif-0005YV-Ku for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 10:59:45 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:39338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tioif-0005YH-EC for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 10:59:37 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so387644wey.0 for ; Wed, 12 Dec 2012 07:59:36 -0800 (PST) In-Reply-To: <87wqwrrml2.fsf@Rainer.invalid> (Achim Gratz's message of "Sun, 09 Dec 2012 21:34:49 +0100") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Hi Achim, Achim Gratz 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-.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