Closed
Description
It might be beneficial for some user setups to get Emacs compiler error system working with haskell-interactive-mode errors.
As an example, here is what I have in my global config file:
(global-set-key (kbd "C-,") 'previous-error)
(global-set-key (kbd "C-.") 'next-error)
These commands also work for grep and occur results and easy to reach keys such as these make it very easy to navigate the them.
Additionally, it would be good to have these commands work from within the Haskell files (and not necessarily exclusively inside the interactive session). With that, the user workflow would be:
- Compile file
- Hit next-error
- Fix error
- Hit next-error
- Fix error
- Recompile
- ...
without a need to even touch the ghci session in between.