From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Selective export of Babel code blocks Date: Mon, 18 Jun 2012 19:16:39 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgfZa-0005X7-NX for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 13:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgfZV-0006Ga-V8 for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 13:17:06 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:33132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgfZV-0006GM-Op for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 13:17:01 -0400 Received: by yenr5 with SMTP id r5so3919786yen.0 for ; Mon, 18 Jun 2012 10:17:00 -0700 (PDT) In-Reply-To: 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: "Thomas S. Dye" Cc: emacs-orgmode Hi Thomas, On Mon, Jun 18, 2012 at 7:11 PM, Thomas S. Dye wrote: > #+CALL: clean-up() :exports none > > This way, the original code block will be exported and subsequent calls > should not be. I think John's use case requires other code blocks "using" the common code block. Can a "CALL" be done from inside a codeblock? That said, your post gave me an idea; how about defining a function in the first code block and then using that in the other blocks. This would require the session feature of course. :) -- Suvayu Open source is the future. It sets us free.