haskell-mode
haskell-mode copied to clipboard
Emacs mode for Haskell
Calling a smartparens command like `sp-raise-sexp` or `sp-forward-slurp` calls `indent-region` which calls `haskell-indentation-indent-region`, which indents the region exactly 1 space, which is almost never what is wanted. I think this...
I would like to customize the behavior of `..load-file` (`C-c C-l`) such that the resulting shell loads environment from a given shell script (e.g. the system `.bashrc`). Unfortunately my ELisp...
emacs: GNU Emacs 27.2 - [Arch linux official package](https://archlinux.org/packages/extra/x86_64/emacs/) haskell-mode: haskell-mode-20210429.117 - installed from melpa and updated today. ____ Following along Graham Hutton's emacs videos I tried to open up...
I think it might be wrong in general, but I don't know all the places people use this from which could have a different format. The problem is that `...
When `haskell-interactive-popup-error` is called, `haskell-error-mode` hooks aren't running because `run-hooks` call is missed
Added a custom variable `haskell-process-cabal-repl-command` to support switch between `cabal repl` and `cabal new-repl`. usage (switch to `cabal new-repl`): ``` elisp (setq haskell-process-cabal-repl-command 'new-repl) ;; set `haskell-process-args-cabal-repl` to disable `-Wtype-defaults`...
#### example `Foo.hs` ``` hs {-# LANGUAGE RankNTypes #-} type Foo a = forall m . Monad m => m a ``` #### wrong result `*Ilist* Foo.hs` ``` + Datatypes...
If one uses let bindings in pattern guards, the indention detection is completely borked. If in the example below one presses RET at the marked position, you end up all...
While testing haskell-mode with the Emacs 27.1 release candidate, the haskell-indent-put-region-in-literate-2 fails with the following log: ``` Making before-change-functions buffer-local while locally let-bound! Test haskell-indent-put-region-in-literate-2 backtrace: signal(error ("Can’t find the...
I've just spent hours tracking down prolific errors like the following, which occur only when editing certain Haskell files: ``` Invalid face reference: nil [2 times] Invalid face reference: 1...