Skip to content
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

[Haskell] Spacemacs freezes on "Initializing..." haskell-mode #2896

Closed
TxmszLou opened this issue Sep 5, 2015 · 16 comments
Closed

[Haskell] Spacemacs freezes on "Initializing..." haskell-mode #2896

TxmszLou opened this issue Sep 5, 2015 · 16 comments

Comments

@TxmszLou
Copy link

TxmszLou commented Sep 5, 2015

On the master branch, opening an ".hs" file or manually start haskell-mode after spacemacs finishes starting up freezes the window on "Initializing" and consumes cpu. I tried a fresh install of spacemacs on develop branch and get the same result.

System Info

  • OS: archlinux
  • Emacs: 24.5-1
  • Spacemacs: 0.104.0
  • Spacemacs brance: develop

The following layers are included in my configuration file.

dotspacemacs-configuration-layer
'(
      auto-completion
      git
      org
      eyebrowse
      search-engine
      themes-megapack
      gnus
      (colors :variables colors-enable-nyan-cat-progress-bar t)
      haskell
      python
      markdown
      scala
      javascript
      c-c++
      html
      racket
      (latex :variables latex-enable-auto-fill t)
      xkcd
)
@TxmszLou
Copy link
Author

TxmszLou commented Sep 5, 2015

Same to this issue

DanielG/ghc-mod#583

@kritzcreek
Copy link
Contributor

What does it say in your Messages buffer after you hit C-g?

@TxmszLou
Copy link
Author

TxmszLou commented Sep 5, 2015

"ghc-mod: unknown command: `map-file'"

@kritzcreek
Copy link
Contributor

To fix that error I cloned ghc-mod and installed it from master. If you use stack it's advisable to use the same package snapshot for compiling ghc-mod that your project uses.

@TxmszLou
Copy link
Author

TxmszLou commented Sep 5, 2015

I am using cabal, I built ghc-mod from master with "cabal install" and configured following https://github.com/kazu-yamamoto/ghc-mod#using-the-development-version but same "Initializing" issue still exists as the issue I referenced to suggests.

ghc version: 7.10.1
ghc-mod version: 5.3.0.0

@kritzcreek
Copy link
Contributor

I'm sorry. I just started getting the same errors. It was all working yesterday though O.o

I'll investigate and see if I can provide a fix.

@robbyoconnor
Copy link
Contributor

What revision?

@stormpat
Copy link
Contributor

stormpat commented Sep 8, 2015

There is some issues with Emacs 24.5.1 and Spacemacs using the dev branch. You could try using master and see if the problems disappear. Theres another issue at #2869

@d12frosted
Copy link
Collaborator

I see this problem as well. Develop branch. All installed using stack.

@robbyoconnor
Copy link
Contributor

Maybe try and install 24.4 -- I assume people know how to compile software -- unless on windows...that shit is a royal _PAIN_

@TxmszLou
Copy link
Author

TxmszLou commented Sep 8, 2015

Same issue on the master branch (0.103.6)

@robbyoconnor
Copy link
Contributor

@TxmszLou -- try with 24.4 - you're going to have to compile it yourself

@TxmszLou
Copy link
Author

TxmszLou commented Sep 8, 2015

@robbyoconnor Sure, I'm downloading the source code... I don't understand what went wrong though...

@TxmszLou
Copy link
Author

TxmszLou commented Sep 8, 2015

Same on 24.4, I guess it's ghc-mod's bug which is already addressed in the up coming milestone

@robbyoconnor
Copy link
Contributor

Sometimes upstream bugs happen 😦

@TxmszLou
Copy link
Author

It seems to be fixed on ghc-mod version 5.4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants