From mboxrd@z Thu Jan 1 00:00:00 1970 From: ASSI Subject: bug#14379: bug#14379: bug#14379: Several Org source files cannot be loaded in isolation Date: Tue, 14 May 2013 07:23:42 +0200 Message-ID: <2127577.dxyDOK2DmO@rainer.invalid> References: <87ppww648u.fsf@Rainer.invalid> <87r4hapnuq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc7j0-0007ZN-W9 for emacs-orgmode@gnu.org; Tue, 14 May 2013 01:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uc7iy-0005pi-32 for emacs-orgmode@gnu.org; Tue, 14 May 2013 01:24:34 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:35200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc7iy-0005pc-0H for emacs-orgmode@gnu.org; Tue, 14 May 2013 01:24:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Uc7jS-0005Dr-9L for emacs-orgmode@gnu.org; Tue, 14 May 2013 01:25:02 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: <87r4hapnuq.fsf@gmail.com> 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: Eric Schulte Cc: Glenn Morris , Carsten Dominik , 14379@debbugs.gnu.org On Monday 13 May 2013, 15:32:45, Eric Schulte wrote: > I'm still getting an error with the following. > > $ emacs -batch -l lisp/ob-C.el > Symbol's value as variable is void: org-babel-tangle-lang-exts Depending on which Emacs version you use and whether, where and how Org 8 is installed and initialized, you'll need something like $ emacs -Q -batch -l org8-init.el -l lisp/ob-C.el for testing, to avoid pulling in the wrong autoloads. This won't be a problem once Org 8 is integrated into Emacs, but you need to be careful with standalone Org. > I can eliminate the error if I remove > > (defvar org-babel-tangle-lang-exts) > > from ob-C.el, and add an explicit require to ob-tangle. I have no idea > why the explicit require works, but requiring /through/ ob.el does not > work. I can make these changes if it is important to be able to load > these source files individually. I'll test that again once more to be sure, but this should really be fixed already. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html