From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: org-export-babel-evaluate and :exports none Date: Fri, 22 Feb 2013 16:42:11 -0500 Message-ID: References: <87hal9v0kq.fsf@gmail.com> <87a9r1z74c.fsf@Rainer.invalid> <877gm33sti.fsf@gmail.com> <87ppzsnkeu.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U90O7-0005lh-JG for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 16:42:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U90O1-0002kt-If for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 16:42:39 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:46369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U90O1-0002kV-CV for emacs-orgmode@gnu.org; Fri, 22 Feb 2013 16:42:33 -0500 Received: by mail-pa0-f45.google.com with SMTP id kl14so688773pab.18 for ; Fri, 22 Feb 2013 13:42:31 -0800 (PST) In-Reply-To: <87ppzsnkeu.fsf@Rainer.invalid> 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 On Fri, Feb 22, 2013 at 3:49 PM, Achim Gratz wrote: > 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). FWIW, I have not experienced this bug. I always set org-export-babel-evaluate to nil, and this has always had the desired effect of preventing babel evaluation on export. Best, Ista > >> 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 > >