Search code examples
haskellemacsghc-mod

ghc-mod only shows first line in *GHC info*


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


Solution

  • 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