emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in for


From: Henry Blevins
Subject: Re: [O] [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting
Date: Thu, 21 Jun 2018 14:44:04 -0400

Neil Jerram <address@hidden> writes:

> But if I want the table output
>
> | 1 | 2 | 3 |
>
> will there still be a way to get it? (I'm sure I have org files that
> need this!)

This patch will not affect any of your existing org files unless you have
specified you want the block to output as 'verbatim', 'scalar' or otherwise. For
all org source blocks the default is to process the output as a table if it is
in a suitable format, so the following would still occur:

#+BEGIN_SRC scheme
  (list 1 2 3)
#+END_SRC

#+RESULTS:
| 1 | 2 | 3 |

Additionally, you can always specify the output be processed as a table by
specifying it in the ':results' header argument.

#+BEGIN_SRC scheme :results table
  (list 1 2 3)
#+END_SRC

#+RESULTS:
| 1 | 2 | 3 |

The other defined options for result formatting can be found here



reply via email to

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