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
stack-mode hangs emacs when using latest load-targets release #87
Comments
Does |
@chrisdone yes but any time I do a |
This seems to be the last thing left in the
|
I've done some digging. It looks like what's happening is that |
Well, for some values of "work". It seems eager to unload modules under circumstances that are not yet clear, but at least it doesn't get into a state that a quick C-c C-l can't fix. |
My case doesn't look like it's even trying to initially load modules anymore. And similarly, |
I can reproduce the same thing: the stack-ide buffer ends in "Recompile required, starting..." after starting the process, with no apparent compilation actually happening (there are no child processes of the stack ide process at all, for example). Is this a red herring? (I see the same output when running After that, any command that tries to interact with the subprocess just seems to hang. I'm using git master of |
@lukehoersten I think I was unclear. I was seeing exactly the same symptoms as you, with the log ending at "Recompile required, starting...". What my digging showed was that from that point onward, Emacs was refusing to send any more commands at all because it was still awaiting a "response" which was really a default startup message from the backend (specifically, it was waiting for a message with the tag |
Following @rjmac's solution I was able to see stack-mode working finally. Running stack from git |
@chrisdone any ideas on @rjmac's hint? |
f78ff35 has stopped working as of |
the solution offered by @rjmac does indeed work for me as of |
After upgrading to the latest
load-targets
release ofstack-ide
,stack-mode
blocks emacs in various situations.Versions
Problem 1
On initial startup,
stack-mode
blocks emacs indefinitely. This can be unblocked by hittingC-g
numerous times.The resulting
*stack:project*
buffer looks like this (those are^H
characters):Problem 2
After
C-g
-ing the first hang, running anything like(stack-mode-goto)
hangs emacs in the same manor as above.C-g
-ing that adds only one new line to the*stack:project*
buffer:This is reproducible.
The text was updated successfully, but these errors were encountered: