From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-export-babel-evaluate and :exports none Date: Wed, 20 Feb 2013 16:31:37 +0100 Message-ID: <877gm33sti.fsf@gmail.com> References: <87hal9v0kq.fsf@gmail.com> <87a9r1z74c.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8BeG-0005Nu-S7 for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 10:32:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8BeB-0001Lo-UB for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 10:31:56 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:54401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8BeB-0001Kj-NZ for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 10:31:51 -0500 Received: by mail-wi0-f181.google.com with SMTP id hm6so6370295wib.2 for ; Wed, 20 Feb 2013 07:31:50 -0800 (PST) In-Reply-To: <87a9r1z74c.fsf@Rainer.invalid> (Achim Gratz's message of "Mon, 18 Feb 2013 21:42:27 +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 Hello, Achim Gratz writes: > Nicolas Goaziou writes: >> I confirm the problem. It is coming from >> 12d592b73223f3b0628e10f0f627447b1a312203. I reverted it. > > Doesn't this throw the baby out with the bathtub? If anything that's an > indication that the evaluation and the exporting of a block should be > independently controllable. So either org-babel-exp-process-buffer is > not the correct function to call or it needs to take > org-export-babel-evaluate into account. I'm just starting over because that wasn't a correct solution. I'm not even sure about what bug this patch fixed. Anyway, it isn't org-export-babel-evaluate's job to tell when to evaluate a source code block. It may be org-babel-exp-process-buffer's. I asked the author of that patch to provide more information about the context so I can get a clue. > 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. Regards, -- Nicolas Goaziou