emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Error with :wrap org in babel and 8.0-pre


From: Sebastien Vauban
Subject: Re: [O] Error with :wrap org in babel and 8.0-pre
Date: Mon, 15 Apr 2013 21:47:55 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Dear Eric,

Eric Schulte wrote:
> John Hendy <address@hidden> writes:
>> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte <address@hidden> wrote:
>>> John Hendy <address@hidden> writes:
>
> Use :wrap org if your code block produces raw org. E.g.,
>
>     #+begin_src sh :results output :wrap org
>     cat <<EOF
>     | 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 <<EOF
| a | b |
|---+---|
| 1 | 2 |
EOF
#+end_src

#+results:
#+BEGIN_org
|   |         | a |   |   | b |   |
|   | ---+--- |   |   |   |   |   |
|   |         | 1 |   |   | 2 |   |
#+END_org

Is it expected?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]