emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH] ob-ruby.el fix for :session parameter


From: Oleh
Subject: [O] [PATCH] ob-ruby.el fix for :session parameter
Date: Mon, 21 Oct 2013 13:15:59 +0200

Hi all,

I attach a patch to change from this behavior:

#+begin_src ruby :session :results output
s = "1"
s = "2"
s = "3"
puts s
#+end_src

#+RESULTS:
: => "1"
: => "2"
: => "3"
: 3

To this behavior

#+begin_src ruby :session :results output
s = "1"
s = "2"
s = "3"
puts s
#+end_src

#+RESULTS:
:
: 3

I just wrap the code in "conf.echo=false\n" and "\nconf.echo=true\n".
I have to set it back to true, otherwise it hangs.

regards,
Oleh

Attachment: 0001-ob-ruby.el-fix-result-of-results-output-session-comb.patch
Description: Binary data


reply via email to

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