From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: bug#14379: Several Org source files cannot be loaded in isolation Date: Sat, 11 May 2013 18:20:03 +0200 Message-ID: <87vc6p1ob0.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbCWy-0002kS-HQ for emacs-orgmode@gnu.org; Sat, 11 May 2013 12:20:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbCWx-0005NJ-Dh for emacs-orgmode@gnu.org; Sat, 11 May 2013 12:20:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:43562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbCWx-0005ND-6z for emacs-orgmode@gnu.org; Sat, 11 May 2013 12:20:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UbCWu-0006OD-JB for emacs-orgmode@gnu.org; Sat, 11 May 2013 18:20:16 +0200 Received: from pd9eb1bd2.dip0.t-ipconnect.de ([217.235.27.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 18:20:16 +0200 Received: from Stromeko by pd9eb1bd2.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 18:20:16 +0200 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 Glenn Morris writes: > Package: org-mode > > (This report refers to the version of Org in the Emacs trunk.) > Several Org files cannot be loaded in isolation, by which I mean that eg > > emacs -batch -l ob-C > > fails. This may have no practical consequences, but seems like bad form > (eg it causes problems for automated testing). […] > > For all but the last, the problem is: > > Symbol's value as variable is void: org-babel-tangle-lang-exts The reason was that Emacs would barf on circular requires. This has meanwhile been fixed in Org 8 by re-organizing the file inclusion structure for Org Babel. > For org-ctags, the problem is: > > Symbol's function definition is void: case > > (because the `case' macro from cl is used in the default value of a > defcustom, which is not evaluated till load time.). This one is probably > a real bug. Reimplementation with pcase should fix that unless this is then resolved at compile-time? --8<---------------cut here---------------start------------->8--- (defcustom org-ctags-path-to-ctags (pcase system-type (`windows-nt "ctags.exe") (`darwin "ctags-exuberant") (_ "ctags-exuberant")) "Full path to the ctags executable file." :group 'org-ctags :version "24.1" :type 'file) --8<---------------cut here---------------end--------------->8--- Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada