From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: ob-core.el macro org-babel-comint-with-output has error Date: Sun, 01 Apr 2018 18:32:56 +0800 Message-ID: <87vadbcj3b.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2aIU-0004kb-Fx for emacs-orgmode@gnu.org; Sun, 01 Apr 2018 06:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2aIP-0006sL-Ft for emacs-orgmode@gnu.org; Sun, 01 Apr 2018 06:33:14 -0400 Received: from [183.249.136.119] (port=4212 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2aIP-0006gC-0H for emacs-orgmode@gnu.org; Sun, 01 Apr 2018 06:33:09 -0400 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: org-mode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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.... -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrAtVgACgkQG13xyVro msOwYQgAuAkLQSNLD7ywwdL3XtEQEG+yEQ0N35+ShnsF9FKIyMG15UA2F1rpgCZK 5PhGVqRUMkSiYUf9mdzJz5wU5xqgSpSQojXIz9/i17jsqFiTpn3RyfYX+Wq9Rf3V Wa0jHBL5Fh9AGT9UzaJK9C6xsOtetwztRy3Cks3a6FdIczxjHh3Q7rl+irTcq7Fy GA+FenSOdY4j/v10gLeszzHc92NcuyI24uMbvKld5lL43K5/f/SVJTKNJsrLQMfz TwCft2qITApZqr638Np+K85iqvNt15fZGg1mheR26JECXbpIh+LMe4hmlg7ZK/uC Hd2rsmUGtIY27oCAw9OI8Ix+iht5pw== =xyRU -----END PGP SIGNATURE-----