emacs haskell-ghci mode hook

2003-01-08 Thread Christian Maeder
Hi, running ghci (instead of hugs) in (GNU-) emacs is quite fun. But a few improvements could even increase the fun: a) adding arguments to the ghci was not well documented. So I appended the following (and a few more paths) to my .gnu-emacs: ;(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs

Re: emacs haskell-ghci mode hook

2003-01-08 Thread Hal Daume III
> a) adding arguments to the ghci was not well documented. So I appended > the following (and a few more paths) to my .gnu-emacs: > > ;(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs) > (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci) > (setq haskell-ghci-program-args >(append >

Re: emacs haskell-ghci mode hook

2003-01-08 Thread Shae Matijs Erisson
Christian Maeder <[EMAIL PROTECTED]> writes: > a) adding arguments to the ghci was not well documented. You can add these options to your ~/.ghci file instead, the GHC docs give detailed info. > c) Can someone supply emacs commands (and keys) to step through all the > errors and warnings? In em

Re: emacs haskell-ghci mode hook

2003-01-08 Thread Christian Maeder
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

Re: emacs haskell-ghci mode hook

2003-01-08 Thread Glynn Clements
Christian Maeder wrote: > > 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. This functionality is provided by "co