From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: org-export-babel-evaluate and :exports none Date: Fri, 22 Feb 2013 21:49:45 +0100 Message-ID: <87ppzsnkeu.fsf@Rainer.invalid> References: <87hal9v0kq.fsf@gmail.com> <87a9r1z74c.fsf@Rainer.invalid> <877gm33sti.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zZ8-0006kO-Uc for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 15:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8zZ6-0007vA-MR for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 15:49:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:33072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zZ6-0007v3-Fx for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 15:49:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U8zZP-0001wt-Gv for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 21:50:15 +0100 Received: from pd9eb56f9.dip.t-dialin.net ([217.235.86.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Feb 2013 21:50:15 +0100 Received: from Stromeko by pd9eb56f9.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Feb 2013 21:50:15 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > I'm just starting over because that wasn't a correct solution. I'm not > even sure about what bug this patch fixed. The bug was that Babel blocks were evaluated during export when org-export-babel-evaluate was explicitly set to nil (the default value is t). > Anyway, it isn't org-export-babel-evaluate's job to tell when to > evaluate a source code block. The documentation says that its job is exactly that, if the context is export. --8<---------------cut here---------------start------------->8--- Documentation: Switch controlling code evaluation during export. When set to nil no code will be evaluated as part of the export process. --8<---------------cut here---------------end--------------->8--- > It may be org-babel-exp-process-buffer's. You call org-export-execute-babel-code however, which doesn't check the above variable. >> BTW, the function org-export-execute-babel-code is called before it is >> being defined. Not sure why this doesn't give a warning. > > Why should it? It's not a macro, after all. Ah yes. To much C++ the last month. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds