haskell / haskell/haskell-mode
Highlight source locations in haskell-interactive-mode (as in haskell-compilation-mode)
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
I had a look through the code for `haskell-interactive-mode`, because I wanted to enable quickly navigating to the source location of an error/warning message. But I found you can already do that by using `haskell-interactive-mode-return` on the first line on one of these. I think it would be great to hightlight these paths, so it is more obvious that the feature exists! _(+mouse interaction)_
As `haskell-interactive-mode` does not extend `compilation-mode`, I didn't see any easy way of doing this. If someone could come with helpful suggestions, or simply implement this, it would be much appreciated.
---
ps. I found that source location extraction is already done by `haskell-process-parse-error` which is called by `haskell-interactive-next-error-function`.
Contributor guide
Assessment
This issue has not been assessed yet.