From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: How do I chain babel blocks with arguments? Date: Thu, 17 Apr 2014 12:24:38 +0200 Message-ID: <87r44wdzix.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WajTe-0006vi-3t for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 06:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WajTX-0007Xv-BH for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 06:23:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:39365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WajTX-0007Xq-4D for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 06:23:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WajTW-00084P-2R for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 12:23:22 +0200 Received: from g231227027.adsl.alicedsl.de ([92.231.227.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Apr 2014 12:23:22 +0200 Received: from tjolitz by g231227027.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Apr 2014 12:23:22 +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 Alan Schmitt writes: >> #+name:test2 >> #+begin_src emacs-lisp :var z="bar" >> (let ((y (org-sbe test1 (x (intern z))))) >> y) >> #+end_src > > Thank you for the suggestion, but it returns a symbol and not the > string. In the more complex setting I'm playing with I need a string > there. w/o knowing what this thread is about (since I did not follow it) I would say that all you need is ,---------------- | (symbol-name y) `---------------- as last expression. -- cheers, Thorsten