-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in process filter #37
Comments
I've also encountered this problem on Emacs 26.3 with nodejs-repl versions 0.2.4 and 0.2.3 and Node versions v14.12.0 and v12.18.4. |
Hi, I've also had this problem with Node v16.9.1, nodejs-repl version 0.2.4, and emacs version 27.1 |
Found a fix on floscr's emacs config! IIRC
|
I think I have a workaround. It seems that culprit is (defun dp/nodejs-repl-remove-broken-filter ()
(remove-hook 'comint-output-filter-functions 'nodejs-repl--delete-prompt t))
(add-hook 'nodejs-repl-mode-hook #'dp/nodejs-repl-remove-broken-filter) This results in duplicated prompt from time to time. But it's better than freezing. |
Unfortunately this leads to echoing back the input, which is annoying.
This seems to be working for me so far! |
I've released nodejs-repl.el 0.2.5 that has resolved the bug, so I'll close this issue. |
Emacs version: 27.1
nodejs-repl version: 0.2.4
Node version: 14.10.1
Steps to reproduce:
1. Open any .js file
2. Execute M-x nodejs-repl
3. digit any expression on the repl (e.g. 5 + 8)
I installed this mode and when i execute any expression in the REPL buffer i get the following errors:
error in process filter: run-hook-with-args: End of buffer
error in process filter: End of buffer
and the RELP hang up a little bit, i don't now much about elisp so i was wondering if someone could help me with this?
This is the config i use, nothing especial:
The text was updated successfully, but these errors were encountered: