Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 693
Random Dev Avatar asked Aug 26 '14 20:08

Random Dev


1 Answers

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

like image 120
Pierre R Avatar answered Oct 31 '22 16:10

Pierre R