From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Tangling #+Results block? Date: Mon, 22 Jun 2015 19:05:33 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Dap-0005KO-4P for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 22:05:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Dak-00049p-RP for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 22:05:42 -0400 Received: from iport-acv5-out.ucsd.edu ([132.239.0.10]:14312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Dak-000498-Ib for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 22:05:38 -0400 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: Joon Ro Cc: "emacs-orgmode@gnu.org" On Mon, 22 Jun 2015, Joon Ro wrote: > I found the following thread, and tried to follow it, but it did not work: > https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00390.html See: http://orgmode.org/manual/Noweb-reference-syntax.html#Noweb-reference-syntax > From: joon.ro@outlook.com > To: emacs-orgmode@gnu.org > Date: Sun, 21 Jun 2015 21:40:17 -0700 > Subject: [O] Tangling #+Results block? > > > > > Is it possible to tangle #+RESULTS: block? For example, > #+BEGIN_SRC rst :tangle ./test.txt :noweb yes > <> > #+END_SRC Make that : <> And use : #+NAME: Tangle_Test to name this block: > #+BEGIN_SRC python :exports results :results output raw > print("Printed Results") > #+END_SRC > #+RESULTS: > Printed Results > > And I want to tangle #+RESULTS: part, not the actual Python source > code, so the tangled test.txt file has the following: > Printed Results HTH, Chuck