Error while checking syntax automatically: (error "Buffer *dante:<name>::<path>/* has no process")
epoberezkin opened this issue · 1 comments
epoberezkin commented
I cannot make dante work... I appreciate any help
.emacs
(add-to-list 'exec-path "~/.local/bin")
(use-package dante
:ensure t
:after haskell-mode
:commands 'dante-mode
:init
(add-hook 'haskell-mode-hook 'dante-mode)
;; (add-hook 'haskell-mode-hook 'flycheck-mode)
)
~/.local/bin/ghci
#\!/bin/bash
stack exec -- ghci $@
M-x flycheck-verify-setup
Syntax checkers for buffer <file>.hs in haskell-mode:
haskell-dante
- may enable: yes
- predicate: t
haskell-stack-ghc
- may enable: yes
- executable: Found at /usr/local/bin/stack
haskell-ghc
- may enable: Automatically disabled!
- executable: Not found
haskell-hlint
- may enable: yes
- executable: Found at /Users/evgeny/.local/bin/hlint
- configuration file: Not found
Flycheck Mode is enabled. Use C-u C-c ! x to enable disabled
checkers.
--------------------
Flycheck version: 31
Emacs version: 26.3
System: x86_64-apple-darwin18.2.0
Window system: ns
epoberezkin commented
Fixed with:
(custom-set-variables
;; ...
'(dante-methods-alist
(quote
((stack "stack.yaml"
("stack" "repl" dante-target))))))
to remove all other methods other than stack.