knupfer / haskell-emacs

Write Emacs extensions in Haskell
375 stars 22 forks source link

Error when executing (haskell-emacs-init) #29

Closed ahmadnazir closed 9 years ago

ahmadnazir commented 9 years ago

Hi,

I am getting the following error when running (haskell-emacs-init) in emacs:

Debugger entered--Lisp error: (error "
.HaskellEmacs.hs:26:18:
    Could not find module `Language.Haskell.Exts.Syntax'
    Perhaps you meant
      Language.Haskell.TH.Syntax (from template-haskell)
    Use -v to see a list of the files searched for.
")
..
  eval-defun-2()
  eval-defun(nil)
  call-interactively(eval-defun nil nil)
  command-execute(eval-defun)

ghc --version The Glorious Glasgow Haskell Compilation System, version 7.6.3

cabal --version cabal-install version 1.22.6.0 using version 1.22.4.0 of the Cabal library

According to the documentation, if ghc and cabal are installed, the haskell dependencies will automatically be installed which is why I haven't manually installed the following:

Nevertheless, the error message seems to be unrelated.

Appreciate your help.

Thanks!

knupfer commented 9 years ago

Thanks, it should work now. If not, please reopen or report another issue. Please note, that you have to remove the haskell-fun directory (~/.emacs.d/haskell-fun) to receive another installation prompt.

ahmadnazir commented 9 years ago

Thanks for the quick reply. I see another problem which I'll report separately.