I use org-babel to generate some reports which can't be automatically processed, and since org is a good outline format, I print the results in org to represent them as trees.
I've noticed that nesting org markup into #+begin_example
block makes emacs really slow (and the formatting of the results is off, too).
It would be really cool to have babel place the output of certain code blocks to a separate buffer (and open a window for it too), the same way as it handles errors.
I've looked through documentation but it seems like there's no such option.
Am I wrong? If I'm not, maybe someone has such a snippet around?
Also, the slowness might be caused by some other options in my configuration, how's your experience with org formatted text nested into example
? Maybe I'm barking under the wrong tree here.
Thanks
#+begin_example
they work just fineorg-mode
is always evolving andorg-babel-insert-result
is already rather quite long, and it will be even longer with this modification. Step #1: Decide on a new RESULT-PARAMS like the wordseparate
. The source-code block can contain something like:results output separate
Step #2: Turn theif/then
statement that contains the condition(and result-params (member "silent" result-params))
into three conditions with the new one being(and result-params (member "separate" result-params))
and set new buf.