-
Notifications
You must be signed in to change notification settings - Fork 177
emacs hangs with "initializing" when opening haskell file for first time #923
Comments
How did you install ghc-mod? Looks like a distribution installation since the paths point to |
It is the Debian packet ghc-mod together with ghc-mod-el, version 5.8.0.0-1. |
This appears to be a Debian packaging specific issue, I've submitted a patch to fix this there: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/commit/?id=6e863e89f74cca1087bad96869efe5f4e7155c4f. You can subscribe to the corresponding debian bug (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878112) to be notified when the fixed version is uploaded. |
Thank you Daniel. However, even after updating to cabal-helper 0.7.3.0-3, which includes the linked patch, I still have the exact same output from ghc-debug. |
I've done |
Fixed in Debian in haskell-cabal-helper 0.7.3.0-3 |
This is still an issue in Ubuntu 18.04. Adding |
Scratch that, looks to me like they pulled in the relevant cabal-helper version already: Ubuntu changelog. Are you sure you have cabal-helper version 0.7.3.0-3 installed? |
Running Ubuntu 18.04.1 here. Emacs is still hanging at the "Initializing" stage.
Under the hood, |
@salva I just did a fresh 18.04 install and cabal-helper itself works just fine (in GHCi). Indeed ghc-mod itself does fail like you describe. Looks like the binary package never got rebuilt after cabal-helper was updated. This is certainly an issue for the Ubuntu package maintainers, please report it: https://launchpad.net/ubuntu/+source/ghc-mod/+bugs. |
I evaluated
(setq ghc-debug t)
. After load a haskell file and interrupting with CTRL-g the GHC Debug buffer says:ghc-mod and ghc-mod-el are debian version 5.8.0.0-1.
The text was updated successfully, but these errors were encountered: