From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] ob-ruby.el fix for :session parameter Date: Sun, 21 Sep 2014 13:02:58 +0200 Message-ID: <87wq8xck2l.fsf@Rainer.invalid> References: <87y4tekleh.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVfSi-000383-Bm for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 07:37:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVfSb-0002qE-8q for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 07:37:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:35549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVfSa-0002pa-Re for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 07:37:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XVev7-0006Mw-LW for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 13:03:09 +0200 Received: from pd9eb3f23.dip0.t-ipconnect.de ([217.235.63.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Sep 2014 13:03:09 +0200 Received: from Stromeko by pd9eb3f23.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Sep 2014 13:03:09 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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-mode has developed some problem in the meantime or > there is some other configuration missing for this to work. I've worked around the strange comint behaviour by temporarily disabling all prompts. The empty line was triggered by an extra comint-send-input which I removed (and changed the test to follow suit). There's probably more such problems for other Babel languages that rely on comint for their session support. Both changes done on master in 4ef78e68c1. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada