[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ob-core.el macro org-babel-comint-with-output has error
From: |
Nicolas Goaziou |
Subject: |
Re: [O] ob-core.el macro org-babel-comint-with-output has error |
Date: |
Thu, 25 Oct 2018 10:27:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
stardiviner <address@hidden> writes:
> stardiviner <address@hidden> writes:
>
>> When I try to evaluate js src block code with session.
>> I found it is suspended. After edebug, found the problem is on macro
>> org-babel-comint-with-output.
>>
>> Here is a minimal reproduce code:
>>
>> #+begin_src emacs-lisp
>> (org-babel-comint-with-output
>> ("*skewer-repl*" (format "%S" org-babel-js-eoe) t "x.innerHTML=\"Hello,
>> Welcome!\";")
>> (mapc
>> (lambda (line)
>> (insert (org-babel-chomp line))
>> (comint-send-input nil t))
>> (list "x.innerHTML=\"Hello, Welcome!\";" (format "%S" org-babel-js-eoe))))
>> #+end_src
>>
>> Hope someone can fix it. I can't help on elisp macro....
>
> Anyone can help me on this?
>
> Why this email does not have any reply?
Probably because no one could help you. In my case, this is not
a complete example and I don't use javascript, so I cannot try to
reproduce it.
You could try to macroexpand `org-babel-comint-with-output' and see
where the problem is.
Regards,
--
Nicolas Goaziou