-
Notifications
You must be signed in to change notification settings - Fork 175
ghc-mod + stack: Emacs hanging opening Haskell file #575
Comments
hey I think I figured it out! with vanilla stack:
|
@luigy It didn't work in my case. Where did you see that |
add I'm also using a you should see a |
@luigy Thanks, I can reproduce now. Wonder why there is other stack instance running when using ghc-mod inside Emacs. |
@bixuanzju should be related to commercialhaskell/stack#872 ... |
Which branch are you guys even using? Anyways the lockfile logging stuff was fixed in stack master some time ago and I got a bunch of other stuff we needed merged, should go into stack-1.4, or so I've been told. Will be working on stack support again this Monday so just hang on for a while ;) |
@DanielG nice! feels so good to have "stackReconfigure" back with stack + ghc-mod... working good so far 🙌 Haven't ran into any problems yet ;) The lockfile warnings keep happening to me on stack master, though |
@DanielG I am always using the master branch, but lockfile problem still persists. |
@bixuanzju You're using stack from master too? |
@DanielG yes, everything from master |
Well you'll have to figure out where the other stack process(es) are coming from then since I can't reproduce this. It might have to do with |
Can confirm. I had to modify the stack code to remove the code that prints the locking error message, and the problem got resolved! |
I can confirm this as well. By adding As an aside, I have to use the |
@DanielG FYI, I am still having the same problem in the master branch |
That's all nice and well but without more information or a way to reproduce this I can't really do anything about it >_> |
Now Daniel and I can reproduce this. Daniel is working on this. |
@DanielG awesome! The HEAD fixed my problem, finally I can embrace |
This has been fixed on master. |
ghc-mod
+stack
work fine from the command line, but using it inside Emacs hangs Emacs, buffer freezes on "Initialiing ...", and I have toC-g
to cancel. Besides, if I use thecabal
instead ofstack
, everything works fine. So I suspect there's something wrong in the elisp code for thestack
integration.I am using Emacs 24.5, both the elisp and binary are compiled from the github repo. I am happy to provide any other information, thanks!
The text was updated successfully, but these errors were encountered: