emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] babel question: how to detect the REPL has finished replying


From: Aaron Ecay
Subject: Re: [O] babel question: how to detect the REPL has finished replying
Date: Thu, 11 Feb 2016 19:57:29 +0000
User-agent: Notmuch/0.21+33~g570c0ae (http://notmuchmail.org) Emacs/25.0.50.2 (x86_64-unknown-linux-gnu)

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 ‘org-babel-comint-with-output’
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,

-- 
Aaron Ecay



reply via email to

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