From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: ob-core.el macro org-babel-comint-with-output has error Date: Thu, 25 Oct 2018 14:15:29 +0800 Message-ID: <8736sur1q6.fsf@gmail.com> References: <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]:47468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFYvj-0004Bi-7w for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 02:15:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFYvg-0003j6-1h for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 02:15:39 -0400 Received: from [61.175.244.13] (port=20626 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFYvf-0003gk-8W for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 02:15:35 -0400 In-reply-to: <87vadbcj3b.fsf@gmail.com> 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 stardiviner 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? Maybe because my old invalid mu4e message sign configuration? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3