haskell / haskell/haskell-mode

Improve questions for process load/reload

Open
#870 1 comment 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

I set `haskell-process-load-or-reload-prompt` to `t`, so every time I start Haskell process I need to answer questions. Can you fix two things:
1. When I abort the “dialog” at some point (via `keyboard-quit`) it should not create new empty buffer, preferably, nothing should happen at all.
2. Consider removing question about Cabal directory. This package can find Cabal files pretty well, I cannot imagine situation when anyone would want to set different Cabal directory than that that is found automatically.

Contributor guide

Open the contributing guide

Research direction

Start at the implementation of `haskell-process-load-or-reload-prompt` and reproduce process startup with it set to `t`, interrupting the dialog with `keyboard-quit`. Done means aborting creates no new empty buffer and the questions no longer ask for a Cabal directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp, haskell
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.