Closed PierreR closed 8 years ago
When I think about it - it makes sense. We force ,sb
to run REPL. While C-c C-l
and friends are set by ghc-mod
or interactive-mode
(or whatever else). So probably the best solution will be to enable haskell-interactive-mode
when ghc-mod
is disabled.
I actually thought that c-c c-t
and c-c c-i
would be automatically rebound to haskell-process-do-type
and haskell-process-do-info
by spacemacs
.
This was supposed to be fixed by #3345 but the associated commit only bind SPC-mht
and SPC-mhi
to c-c c-t/ c-c c-i
(maybe under the assumption the interactive-mode
would rebound these keys ?)
SPC-mht
and SPC-mhi
should be mapped (as before) to 'haskell-process-do-info and 'haskell-process-do-type' but only whenever an interactive-mode
is at play.
How to reproduce
ghc-mod
with :(haskell :variables haskell-enable-ghc-mod-support nil)
SPC-h-d-k
withc-c c-i
(for instance)=> it is wrongly bound to
haskell-mode-enable-process-minor-mode
As a result, if you fire a repl with
,sb
, you will never get the appropriate binding forc-c c-i
(or `c-c c-t). It will always respond with "C-h f haskell-mode‘ for instruction".System Info