alchemist.el
alchemist.el copied to clipboard
IEx hung my Emacs completly.
There is some problem. When I use IEx on my Emacs through alchemist it always hang.
Steps to reproduce:
M-x alchemist-iex-run
iex(1)> 1 + 1
1 + 1
2
iex(2)> 1 ++ 1
1 ++ 1
** (ArgumentError) argument error
:erlang.++(1, 1)
iex(2)> 1 + 1 <-------------------- after Enter here it always hang forever
(it always hang next instruction after instruction with some error or exception)
Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.5.2
GNU Emacs 25.3
macOS Sierra
This happens for me, as well.
@crabonature I can kill the IEx process without having to restart Emacs by hitting C-g
twice and C-c
four times.
Elixir 1.5.1 GNU Emacs 24.5.1 and 25.3.1 macOS Sierra 10.12.6
@michaelstalker Thanks for a nice working tip. So I can kill it gracefully.
A friend could replicate the issue on Elixir 1.5.1, but not on 1.4.0.
@michaelraskansky Any information on why this happens? Looks like it hangs every time after there is an Exception.
having the same issue
@tonini Any change of you looking into this issue in the near future?
Same issue here, any update?
Ditto and applying this pull request didn't fix the issue for me: https://github.com/tonini/alchemist.el/pull/314
UPDATE: thank you @maruks, works perfectly after recompiling
Happens with Elixir 1.5.2. GNU Emacs 25.1.1, Mac OS Sierra.
Pull request https://github.com/tonini/alchemist.el/pull/314 solves this problem. Why is it not merged? Make sure you delete old alchemist elc files after applying this fix.
I have this issue as well:
- Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
- Elixir 1.5.3
- GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-12
- macOS High Sierra
EDIT: I can confirm as well #314 fixed this issue for me.
@tonini It looks like the issue got fixed after the last release. As this issue is quite big, would it be possible to make another release?