Quote from the announcement email:
-------------------------------------------------------
I've just released version 2.2 of the Haskell-mode package for Emacs.
It has very few visible changes, mostly some commands to query an underlying
interactive hugs/ghci in order to get type/info about specific identifiers,
courtesy of Matthew Danish.
It does have some non-trivial changes in the indentation code and various
other minor details. These have seen very little testing until now, so
don't be surprised to find regressions: just complain back to me.
As always, the place to find this package is:
http://www.iro.umontreal.ca/~monnier/elisp/
-------------------------------------------------------
I copied the 2.1 ebuild and replaced the version with 2.2. It works on my
system with emacs-cvs-22.0.93-r2.
However I did get some warnings when compiling the lisp sources:
-------------------------------------------------------
>>> Emerging (1 of 1) app-emacs/haskell-mode-2.2 to /
* haskell-mode-2.2.tar.gz MD5 ;-) ...
[ ok ]
* haskell-mode-2.2.tar.gz RMD160 ;-) ...
[ ok ]
* haskell-mode-2.2.tar.gz SHA1 ;-) ...
[ ok ]
* haskell-mode-2.2.tar.gz SHA256 ;-) ...
[ ok ]
* haskell-mode-2.2.tar.gz size ;-) ...
[ ok ]
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
* checking haskell-mode-2.2.tar.gz ;-) ...
[ ok ]
>>> Unpacking source...
>>> Unpacking haskell-mode-2.2.tar.gz to /var/tmp/portage/haskell-mode-2.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2 ...
In end of data:
haskell-decl-scan.el:695:1:Warning: the function `fume-add-menubar-entry' is
not known to be defined.
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-decl-scan.elc
In toplevel form:
haskell-doc.el:399:1:Warning: defcustom for `haskell-doc-show-global-types'
fails to specify containing group
haskell-doc.el:405:1:Warning: defcustom for `haskell-doc-show-reserved' fails
to specify containing group
haskell-doc.el:411:1:Warning: defcustom for `haskell-doc-show-prelude' fails
to specify containing group
haskell-doc.el:417:1:Warning: defcustom for `haskell-doc-show-strategy' fails
to specify containing group
haskell-doc.el:423:1:Warning: defcustom for `haskell-doc-show-user-defined'
fails to specify containing group
haskell-doc.el:429:1:Warning: defcustom for `haskell-doc-chop-off-context'
fails to specify containing group
haskell-doc.el:433:1:Warning: defcustom for `haskell-doc-chop-off-fctname'
fails to specify containing group
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-doc.elc
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-font-lock.elc
In haskell-ghci-locate-next-error:
haskell-ghci.el:301:32:Warning: `string-to-int' is an obsolete function (as of
Emacs 22.1); use `string-to-number' instead.
In end of data:
haskell-ghci.el:332:1:Warning: the function `comint-mode' might not be defined
at runtime.
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-ghci.elc
In haskell-hugs-gen-load-file:
haskell-hugs.el:283:25:Warning: `string-to-int' is an obsolete function (as of
Emacs 22.1); use `string-to-number' instead.
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-hugs.elc
In toplevel form:
haskell-indent.el:316:1:Warning: defcustom for
`haskell-indent-look-past-empty-line' fails to specify containing group
haskell-indent.el:1020:1:Warning: defcustom for
`haskell-indent-after-keywords' fails to specify containing group
haskell-indent.el:1065:1:Warning: defcustom for `haskell-indent-dont-hang'
fails to specify containing group
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-indent.elc
In toplevel form:
haskell-mode.el:255:1:Warning: defcustom for `haskell-literate-default' fails
to specify containing group
haskell-mode.el:384:1:Warning: defcustom for `haskell-mode-hook' fails to
specify containing group
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-mode.elc
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/haskell-simple-indent.elc
In inferior-haskell-type:
inf-haskell.el:263:34:Warning: reference to free variable
`haskell-doc-user-defined-ids'
inf-haskell.el:263:34:Warning: assignment to free variable
`haskell-doc-user-defined-ids'
In inferior-haskell-find-definition:
inf-haskell.el:318:24:Warning: reference to free variable
`find-tag-marker-ring'
Wrote
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2/elc.1968/inf-haskell.elc
>>> Source compiled.
>>> Test phase [not enabled]: app-emacs/haskell-mode-2.2
>>> Install haskell-mode-2.2 into /var/tmp/portage/haskell-mode-2.2/image/ category app-emacs
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2
/var/tmp/portage/haskell-mode-2.2/work/haskell-mode-2.2
>>> Completed installing haskell-mode-2.2 into /var/tmp/portage/haskell-mode-2.2/image/
man:
>>> Merging app-emacs/haskell-mode-2.2 to /
...
-------------------------------------------------------
(Maybe this is because I use a very recent emacs version)
Reproducible: Always