Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
Experts Most Trusted Topic
how to run node js interactively in emacs on windows
I thought this would work:
(defun my-node ()
¬†¬†(pop-to-buffer (make-comint "my-node" "node")))
But when I do M-x my-node and enter 1+1 in the comint buffer, it does not display any output.
This is in Emacs 188.8.131.52 on Windows 7 and NodeJS is installed without any special configuration.
Calling node.js non-interactively as in M-x compile RET node hello-world.js RET works fine. Running node interactively in cmd works fine.
This might be related: when I run M-x shell and enter node in the shell buffer and then enter 1+1, it doesn't display the result. I must be missing something very basic.
Probably related: emacs/Python: running python-shell in line buffered vs. block buffered mode - Stack Overflow
Sep 18, 2015
to add a comment.
Related Hot Questions
Walkin Jobs Opening
Government Jobs Opening