Open Rageoholic opened 7 years ago
You can do M-x toggle-debug-on-quit and when you press C-g, it'll tell you what's hanging.
Debugger entered--Lisp error: (quit)
accept-process-output(#<process Alchemist-IEx> nil)
alchemist-iex-wait-for-prompt(#<process Alchemist-IEx>)
#[(line) "\303!\210\304!b\210\305 \306P!\210\n`\307\223\210\310 \306P\"\207" [proc line comint-last-input-end alchemist-iex-wait-for-prompt process-mark insert-before-markers "\n" nil comint-send-string] 4](#("Test" 0 4 (fontified t)))
mapcar(#[(line) "\303!\210\304!b\210\305 \306P!\210\n`\307\223\210\310 \306P\"\207" [proc line comint-last-input-end alchemist-iex-wait-for-prompt process-mark insert-before-markers "\n" nil comint-send-string] 4] (#("Test" 0 4 (fontified t))))
-map(#[(line) "\303!\210\304!b\210\305 \306P!\210\n`\307\223\210\310 \306P\"\207" [proc line comint-last-input-end alchemist-iex-wait-for-prompt process-mark insert-before-markers "\n" nil comint-send-string] 4] (#("Test" 0 4 (fontified t))))
alchemist-iex--send-command(#<process Alchemist-IEx> #("Test" 0 4 (fontified t)))
comint-send-input()
funcall-interactively(comint-send-input)
call-interactively(comint-send-input nil nil)
command-execute(comint-send-input)
So when I run IO.gets emacs hangs until I C-g. After that I have to kill IEx because its still waiting for input. Tested on Emacs 26 and 24