haskell / haskell/haskell-mode

haskell-interactive-bring is switching to REPL window

Open
#954 0 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

Hey, `haskell-interactive-bring` is defined as follows

```
(defun haskell-interactive-bring ()
"Bring up the interactive mode for this session."
(interactive)
(let* ((session (haskell-session))
(buffer (haskell-session-interactive-buffer session)))
(pop-to-buffer buffer)))
```

The question: shouldn't it be `display-buffer` instead of `pop-to-buffer`? Because instead of just bringing REPL, it switches to it. And it's also annoying, that you can't go back with `haskell-interactive-switch-back`, since `haskell-interactive-bring` switches to REPL buffer, but doesn't stores the old buffer.

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.