From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: recent ESS commit breaks org-babel-R session output capture Date: Mon, 02 Jul 2018 21:50:03 -0700 Message-ID: <87bmbox6ro.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faDGW-0000Mf-6s for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 00:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faDGR-0003xo-Ex for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 00:50:12 -0400 Received: from mail-pl0-x233.google.com ([2607:f8b0:400e:c01::233]:37744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faDGR-0003xS-8C for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 00:50:07 -0400 Received: by mail-pl0-x233.google.com with SMTP id 31-v6so393693plc.4 for ; Mon, 02 Jul 2018 21:50:06 -0700 (PDT) Received: from localhost (ec2-54-67-108-192.us-west-1.compute.amazonaws.com. [54.67.108.192]) by smtp.gmail.com with ESMTPSA id b7-v6sm408842pgc.25.2018.07.02.21.50.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 21:50:05 -0700 (PDT) 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" To: emacs-orgmode@gnu.org Hello all, An ESS commit last week broke org-babel-R session output capture. In particular, the following no longer works: #+BEGIN_SRC R :session :results output print("hello") #+END_SRC The code runs but org-babel fails to capture the output and place it in the buffer. I think the breakage is caused by ESS changing the way it prints prompts ">" over multiline input. org-babel was using the prompt to find and strip out tokens it inserts, but now can't find the prompt and just strips the whole output. I've posted an issue on the ESS github as well, hopefully the ESS maintainers can provide some advice on how to proceed: https://github.com/emacs-ess/ESS/issues/598 Jack