From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Error with :wrap org in babel and 8.0-pre Date: Mon, 15 Apr 2013 21:47:55 +0200 Message-ID: <86bo9fmv84.fsf@somewhere.org> References: <87li8ncqzq.fsf@gmail.com> <87li8jfysj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Dear Eric, Eric Schulte wrote: > John Hendy writes: >> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte wrote: >>> John Hendy writes: > > Use :wrap org if your code block produces raw org. E.g., > > #+begin_src sh :results output :wrap org > cat < | a | b | > |---+---| > | 1 | 2 | > EOF > #+end_src > > #+RESULTS: > #+BEGIN_org > | a | b | > |---+---| > | 1 | 2 | > #+END_org Playing a bit with the above code, removing `:results output' to see what would happen, I'm amazed by the results: #+begin_src sh :wrap org cat <