haskell / haskell/haskell-mode

Emacs hangs with "Haskell Process Suggest Add Package"

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

Description

If I enable this feature everything works fine - the process sees when there is a hidden package used, asks me if I want to include it into the `.cabal` file, includes it in the right places.

But once I get to the point where it asks me if I want to import it into the ghci session emacs hangs until I kill the GHC process from my system with my OS-process manager.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by enabling “Haskell Process Suggest Add Package” and reaching the prompt to import the package into the ghci session. Start by tracing the GHC process interaction at that prompt; done means Emacs remains responsive and the package is either imported or the prompt completes without requiring the GHC process to be killed.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, haskell
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.