haskell / haskell/haskell-mode

C-c C-l gives unhelpul error

Open
#1,560 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

I guess this is related to #522 (but I couldn't figure out how to re-open it).
Now when I try C-c C-l, I get an error saying

Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.

but then if I do `C-h f haskell-mode`, I only get told that there are:

Interaction modes:

‘interactive-haskell-mode’
Interact with per-project GHCi processes through a REPL and
directory-aware sessions.

‘inf-haskell-mode’
Interact with a GHCi process using comint-mode. Deprecated.

[ the last part has obviously a problem since I can;t find any `inf-haskell-mode`. ]

The problem here is that nothing tells me how to do what I wanted with C-c C-l. Looking at commit ca94d814b943afeea5bc418df3773f19be9ac8e3 is worse: it says "revamped" but it should just say "gutted", since the functionality that was bound to C-c C-l was simply thrown away. That seems completely pointless: if you want to deprecate `inf-haskell.el`, then just let it rot, but throwing away some of its code while keeping a tiny mostly useless shell is just infuriating the user who gets the impression he might be able to find his old C-c C-l somewhere in there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.