js-comint icon indicating copy to clipboard operation
js-comint copied to clipboard

Customization for Windows

Open ceving opened this issue 8 years ago • 3 comments

It might be useful to add the following to the documentation, when using js-comint on Windows.

This disables nodes own readline:

(setenv "NODE_NO_READLINE" "1")

See the discussion on Stackoverflow

And this sets the executable. Otherwise js-comint will search just for node without the .exe extension.

(setq inferior-js-program-command "C:/Program Files/nodejs/node.exe")

ceving avatar Nov 29 '17 14:11 ceving

Thanks. I will update the documentation.

redguardtoo avatar Nov 30 '17 02:11 redguardtoo

As I checked. js-comint runs (setenv "NODE_NO_READLINE" "1") automatically when starting repl.

redguardtoo avatar Nov 30 '17 04:11 redguardtoo

83e932e doc and bugs (Chen Bin)

redguardtoo avatar Nov 30 '17 04:11 redguardtoo