Hello, stardiviner <numbch...@gmail.com> writes:
> stardiviner <numbch...@gmail.com> 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