haskell / haskell-mode

Emacs mode for Haskell
http://haskell.github.io/haskell-mode/
GNU General Public License v3.0
1.33k stars 342 forks source link

Errors and warnings not cleared in repl after reload #1664

Open vlatkoB opened 5 years ago

vlatkoB commented 5 years ago

A few days ago repl window in Emacs stopped being cleared on reload. Everything works fine, just errors/warnings are displayed one after another until I manually clear the repl window.

Tried using .emacs.d backup from a few weeks ago (when all was fine), but issue holds. I tested also with minimal (no other packages except use-package)

(use-package haskell-mode :ensure t
  :config
    (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
    (use-package haskell-interactive-mode)
    (use-package haskell-process)
)

and nothing. So, very likely something got upgraded in my system, but haven't noticed anything (what I think could be) "related".

Using Arch, Emacs 26.2, haskell-mode 20190606.2028, stack 1.9.3, ghc 8.4.4 and 8.6.5

Anyone experienced this issue or maybe has a solution?

vlatkoB commented 5 years ago

Interestingly, I noticed that (haskell-interactive-set-+c nil) setting now has the effect (no double warnings any more), while previously I had to type :unset +c in each repl on its first load.

purcell commented 4 years ago

Is this still an issue?

vlatkoB commented 4 years ago

Thanks for reminding me. Just checked and the problem is gone. Great! :-)

purcell commented 4 years ago

Super, thank you for checking.

vlatkoB commented 4 years ago

Happening again.