Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Niels Giesen
To all people in this thread, Thank you for all the responses. The echoing of #+begin_src and #end_src is indeed a workaround that I had not thought of myself, though it is not that general, and puts stuff in the source that really oughtn't be there. In the mean time I came up with a piece of ad

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Sebastien Vauban
Hi Burton, Burton Samograd wrote: > "Sebastien Vauban" writes: >> Hi Rainer and Niels, >> >> Rainer M Krug wrote: >>> On Mon, Oct 10, 2011 at 5:44 PM, Niels Giesen wrote: Say I've got a sh code block invoking curl to some json api, is it possible some way to specify that the format of t

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Burton Samograd
"Sebastien Vauban" writes: > Hi Rainer and Niels, > > Rainer M Krug wrote: >> On Mon, Oct 10, 2011 at 5:44 PM, Niels Giesen wrote: >>> Say I've got a sh code block invoking curl to some json api, is it possible >>> some way to specify that the format of the output when :results output code >>> is

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Eric Schulte
Niels Giesen writes: > Hi, > > Say I've got a sh code block invoking curl to some json api, is it possible > some way to specify that the format of the output when :results output code > is in a json code block and *not* a sh code block? > Hi Niels, Currently there is no way to specify the type

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Sebastien Vauban
Hi Rainer and Niels, Rainer M Krug wrote: > On Mon, Oct 10, 2011 at 5:44 PM, Niels Giesen wrote: >> Say I've got a sh code block invoking curl to some json api, is it possible >> some way to specify that the format of the output when :results output code >> is in a json code block and *not* a sh c

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Rainer M Krug
On Mon, Oct 10, 2011 at 5:44 PM, Niels Giesen wrote: > Hi, > > Say I've got a sh code block invoking curl to some json api, is it possible > some way to specify that the format of the output when :results output code > is in a json code block and *not* a sh code block? > > #+begin_src sh :results

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Rasmus Pank Roulund
Niels Giesen writes: > Hi, > > Say I've got a sh code block invoking curl to some json api, is it possible > some way to specify that the format of the output when :results output code > is in a json code block and *not* a sh code block? Does this help you? (Lacking a relevant example) #+begin

[O] Put result output in different type of code block than original

2011-10-10 Thread Niels Giesen
Hi, Say I've got a sh code block invoking curl to some json api, is it possible some way to specify that the format of the output when :results output code is in a json code block and *not* a sh code block? #+begin_src sh :results output code :exports both curl https://our-service.org/getstuff?us