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

2014-09-21 Thread Achim Gratz
Achim Gratz writes: > Oleh writes: >> #+RESULTS: >> : >> : 3 > > Well, that would still be an empty line too many. But aside from that, > what I'm actually getting with a recent Emacs and inf-ruby is: > > #+RESULTS: > : > : irb(main):003:0> irb(main):004:0> irb(main):005:0> 3 > > So either comint

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

2014-09-20 Thread Achim Gratz
Oleh writes: > #+RESULTS: > : > : 3 Well, that would still be an empty line too many. But aside from that, what I'm actually getting with a recent Emacs and inf-ruby is: #+RESULTS: : : irb(main):003:0> irb(main):004:0> irb(main):005:0> 3 So either comint-mode has developed some problem in the

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

2013-10-21 Thread Eric Schulte
Applied, Thanks! Oleh writes: > Hi Eric, > > Here's the update. > > regards, > Oleh > > On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte wrote: >> Hi Oleh, >> >> Thanks for submitting this patch. Instead of the current progn/setq >> approach could you simply add your the "conf.echo=false\n" lines

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

2013-10-21 Thread Oleh
Hi Eric, Here's the update. regards, Oleh On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte wrote: > Hi Oleh, > > Thanks for submitting this patch. Instead of the current progn/setq > approach could you simply add your the "conf.echo=false\n" lines to the > following list? > > (list body org-bab

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

2013-10-21 Thread Eric Schulte
Hi Oleh, Thanks for submitting this patch. Instead of the current progn/setq approach could you simply add your the "conf.echo=false\n" lines to the following list? (list body org-babel-ruby-eoe-indicator) With that change I'd be happy to apply this patch. Also, extra thanks for submitting t

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

2013-10-21 Thread Oleh
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: :