From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Re: Tangling #+Results block? Date: Mon, 22 Jun 2015 10:22:11 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_2402fde1-f458-4de8-b332-6ef6f3b7bd8a_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z75QI-0007g0-0c for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 13:22:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z75QD-0005EF-2V for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 13:22:17 -0400 Received: from col004-omc1s12.hotmail.com ([65.55.34.22]:59364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z75QC-0005Dr-Py for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 13:22:12 -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: "emacs-orgmode@gnu.org" --_2402fde1-f458-4de8-b332-6ef6f3b7bd8a_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I found the following thread=2C and tried to follow it=2C but it did not wo= rk: https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00390.html From: joon.ro@outlook.com To: emacs-orgmode@gnu.org Date: Sun=2C 21 Jun 2015 21:40:17 -0700 Subject: [O] Tangling #+Results block? Is it possible to tangle #+RESULTS: block? For example=2C #+BEGIN_SRC rst :tangle ./test.txt :noweb yes<>#+END_SRC #+BEGIN_SRC python :exports results :results output rawprint("Printed Resul= ts")#+END_SRC #+RESULTS: Printed Results And I want to tangle #+RESULTS: part=2C not the actual Python source code= =2C so the tangled test.txt file has the following: Printed Results Best=2CJoon = --_2402fde1-f458-4de8-b332-6ef6f3b7bd8a_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I found the following thread=2C = and tried to follow it=2C but it did not work:





From:=3B joon.ro@outlook.com
To:=3B emacs-orgmode@gnu.org
= Date:=3B Sun=2C 21 Jun 2015 21:=3B40:=3B17 -0700
Subject:=3B= [O] Tangling #+Results block?

Is it possible to tangle #+RESULTS:=3B block? For ex= ample=2C

#+BEGIN_SRC rst :=3Btangle ./test.txt = :=3Bnoweb yes
<=3B<=3BTangle_Test>=3B>=3B
#+= END_SRC

#+BEGIN_SRC python :=3Bexports results = :=3Bresults output raw
print("=3BPrinted Results"=3B)<= /div>
#+END_SRC

#+RESULTS:=3B =3B
=
Printed =3BResults

And= I want to tangle #+RESULTS:=3B part=2C not the actual Python source cod= e=2C so the tangled test.txt file has the following:=3B

Printed =3BResults

Best=2C
Joon


= --_2402fde1-f458-4de8-b332-6ef6f3b7bd8a_--