From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: babel question: how to detect the REPL has finished replying Date: Mon, 15 Feb 2016 14:01:44 +0100 Message-ID: References: <87mvr7ow9i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVImZ-0003jf-28 for emacs-orgmode@gnu.org; Mon, 15 Feb 2016 08:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVImV-0000cI-TR for emacs-orgmode@gnu.org; Mon, 15 Feb 2016 08:01:39 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:65496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVImV-0000c1-Ml for emacs-orgmode@gnu.org; Mon, 15 Feb 2016 08:01:35 -0500 In-Reply-To: <87mvr7ow9i.fsf@gmail.com> (Aaron Ecay's message of "Thu, 11 Feb 2016 19:57:29 +0000") 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: orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Aaron, On 2016-02-11 20:57, Aaron Ecay writes: > Hi Alan, > > Other backends send an unlikely string literal to the interpreter as the > last command, which will be echoed back verbatim. The code detects the > presence of this string in the output stream, and thus knows that the > interaction has finished. Check out the =E2=80=98org-babel-comint-with-o= utput=E2=80=99 > macro for the implementation. > > (This is the usual function of the org-babel-coq-eoe variable that your > last patch deleted. It was probably cargo-culted in from another > backend and never properly implemented.) > > Hope this is helpful, It is, thank you for the suggestion. I=E2=80=99m going to look into how it= =E2=80=99s used in other languages. Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82 (2016-01, Mauna Loa Obs.): 402.52 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWwcw4AAoJEAQNCjtO0uXHzk8H/iWvNvu0daeZ7aBSyvkL/xBh ZPTLGXABkD7LOvNukgGeiE2mRCs0cElPGmzHLa4NWou6ubvMvA5wfgHlwH8jeiT8 RAPzoScbbwtyAv8+vnGYQXndh6abhPo51rniWiNE6T87QK5iXRipJghswahrzhH/ eMbnasofiTQ38RkF8fl2jgJJn+m2Fyw0DWBa/4v7OF2xK1kpIUA+Pwv82lYVRRqs kCwGP6NnsR9fSsySXQRJxR8VpX5lcub3nlEQvR9po08K6sA3uwwK3Kx7HVN99TSS GilWlGWCLABrBfr1nlzPvG9j2547RWdjEPO4Eh/68TpmuNcmj64iPUS+BFRgUUU= =Re2Q -----END PGP SIGNATURE----- --=-=-=--