Cannot load properly haskell mode on Aquamacs

Arnaud Bailly arnaud.oqube at gmail.com
Sat Mar 22 07:44:17 GMT 2014


Yes, that's what it seems: apologies for the noise. I added melpa in my
packages, upgraded everything and things are fine again.

regards

--
Arnaud Bailly
FoldLabs Associate: http://foldlabs.com


On Fri, Mar 21, 2014 at 10:56 PM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:

> On 22 March 2014 04:48, Arnaud Bailly <arnaud.oqube at gmail.com> wrote:
> > Hello,
> > I installed haskell mode from marmalade (13.7) and ghc (1.10.2). When I
> try
> > to load a .hs file, it opens but I got the following error message:
> >
> > ghc-merge-keywords: Wrong type argument: listp, module
>
> Looks like an issue with ghc-mod rather than haskell-mode.
>
> >
> > Here is my relevant part of .emacs file:
> >
> > ;; haskell coding
> > (require 'haskell-mode)
> > (require 'haskell-cabal)
> >
> > (autoload 'ghc-init "ghc" nil t)
> >
> > (add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
> >
> > (eval-after-load "haskell-mode"
> >   '(progn
> >      (define-key haskell-mode-map (kbd "C-,") 'haskell-move-nested-left)
> >      (define-key haskell-mode-map (kbd "C-.") 'haskell-move-nested-right)
> >      (define-key haskell-mode-map (kbd "C-c v c")
> 'haskell-cabal-visit-file)
> >      (define-key haskell-mode-map (kbd "C-c C-c") 'haskell-compile)
> >      (setq haskell-process-type 'cabal-repl
> >            haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans"
> >                                                  "--with-ghc=ghci-ng"))
> >      (define-key haskell-mode-map (kbd "C-x C-d") nil)
> >      (define-key haskell-mode-map (kbd "C-c C-z")
> > 'haskell-interactive-switch)
> >      (define-key haskell-mode-map (kbd "C-c C-l")
> > 'haskell-process-load-file)
> >      (define-key haskell-mode-map (kbd "C-c C-b")
> > 'haskell-interactive-switch)
> >      (define-key haskell-mode-map (kbd "C-c C-t")
> 'haskell-process-do-type)
> >      (define-key haskell-mode-map (kbd "C-c C-i")
> 'haskell-process-do-info)
> >      (define-key haskell-mode-map (kbd "C-c M-.") nil)
> >      (define-key haskell-mode-map (kbd "C-c C-d") nil)
> >      (define-key haskell-mode-map (kbd "C-c v c")
> 'haskell-cabal-visit-file)
> >      (setq haskell-font-lock-symbols t)))
> >
> > (add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
> > (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
> >
> > (eval-after-load "which-func"
> >   '(add-to-list 'which-func-modes 'haskell-mode))
> >
> > (eval-after-load "haskell-cabal"
> >     '(define-key haskell-cabal-mode-map (kbd "C-c C-c")
> 'haskell-compile))
> >
> > Thanks for your help.
> >
> > --
> > Arnaud Bailly
> > FoldLabs Associate: http://foldlabs.com
> >
> > _______________________________________________
> > Haskellmode-emacs mailing list
> > Haskellmode-emacs at projects.haskell.org
> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
> >
>
>
>
> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> http://IvanMiljenovic.wordpress.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskellmode-emacs/attachments/20140322/1e235088/attachment.htm>


More information about the Haskellmode-emacs mailing list