8

I am using emacs (24.3.1) in haskell-mode together with ghc-mod to play with Haskell. Now everything works fine aside from one annoying thing:

Every output in the GHC info buffer contains only the first line.

For example when I ask for ghc-show-info (let's say on sqlSettings from persist) I get this:

enter image description here

while Interactive-Haskell works fine:

enter image description here

This happens with everything: infos, errors, warnings, etc.

Right now I have no clue what is causing this issue as it seems that ghc-mod in emacs is parsing the output wrong.

Maybe someone can help me get all the info.

Thanks

PS: maybe this one shows the problem a bit better:

enter image description here

instead of

enter image description here

Random Dev
  • 51,810
  • 9
  • 92
  • 119
  • Sounds like a bug to me? Probably you can post it as an issue in the bug tracker and see if any responses come. (I have the same experience with haskell-mode) – Sibi Aug 27 '14 at 13:21
  • Pierre was right - ghc-mod 4.1.6 together with the emacs-package for this version did fix it again - maybe I had two versions mixed together on my system as I recently switched to the new haskell-plattform and reseted my haskell-env but I did not check all the emacs packages for new ones - seems I forgot ghc – Random Dev Aug 27 '14 at 14:56

1 Answers1

2

It might be this bug https://github.com/kazu-yamamoto/ghc-mod/issues/297

It has been fixed recently with ghc-mod >= 4.1.6

Pierre R
  • 216
  • 1
  • 7
  • I have ghc-mod 4.1.6 running here (maybe I should have said so) - on the other hand maybe the .el from melpa is to old ... will check this - the bug tracker indeed seems like something similar – Random Dev Aug 27 '14 at 14:46
  • Indeed - that was the problem - I reinstalled the emacs-ghc package (I guess I forgot - the update was from Aug-19 - and voila - It works again – Random Dev Aug 27 '14 at 14:55