
Thanks for the ~/.ghci hint.
In emacs, I've set F12 to "save this file and compile" and I use buffer local variables at the very end of my file for one-button testing:
C-c C-l is fine to me.
Local Variables: compile-command: "./quickcheck +names ProtoQuickCheck.lhs" End:
I'm using .hs files. What is quickcheck and the "+names" argument?
C-x ` is "jump to next compile error" which can be used to navigate through errors produced from tests (depending on the error format).
This looks like some work or am I missing some .el files? I'm no ELisp programmer.
Also, haskell-mode has several useful extensions like fume that aren't immediately obvious before reading the docs or using C-h m (or C-h b).
What is "fume"? C-h m did not reveal any surprises to me.I only use the recommended setup: (setq auto-mode-alist (append auto-mode-alist '(("\\.[hg]s$" . haskell-mode) ("\\.hi$" . haskell-mode) ("\\.l[hg]s$" . literate-haskell-mode)))) (autoload 'haskell-mode "haskell-mode" "Major mode for editing Haskell scripts." t) (autoload 'literate-haskell-mode "haskell-mode" "Major mode for editing literate Haskell scripts." t) (add-hook 'haskell-mode-hook 'turn-on-haskell-font-lock) (add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan) (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) ;(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent) ;(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs) (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci) Christian