
Haskell-mode, a major mode for writing Haskell code in Emacs, has been updated to version 2.7.0. This release contains mostly bugfixes, but also adds support for hlint highlighting via flymake. Additionally, haskell-mode now has a bug-tracker and mailing list. Mailing list: http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs Bug tracker: http://trac.haskell.org/haskellmode-emacs/ Unless I am asked not to, minor (N.M.x) releases will only be announced on the mailing list from now on. Download location is, as always, http://projects.haskell.org/haskellmode-emacs/ The changelog is as follows: === Changes since 2.6.4 * fill-paragraph (M-q) now only affects comments, and correctly handles Haddock commentary. adaptive-fill-mode is turned off, as it was interfering. * Yet more unicode symbols * Better support for unicode encoding of haskell source files * mdo correctly indented * Indentation fixes, fixes to the fixes, and fixes to the fixes to the fixes * New command: M-x haskell-check, calls (by default) hlint on the current file. Also bound to C-c C-v. You can also use the flymake minor mode with this. -- Svein Ove Aas

Svein Ove Aas
* New command: M-x haskell-check, calls (by default) hlint on the current file. Also bound to C-c C-v.
I've got two potential problems with this: * For package maintenance purposes, the default inclusion of hlint could cause some problems (for starters, in Gentoo haskell-mode is available in the default repository, hlint is only available in the Haskell overlay). * The "default" Hlint keybinding is C-c l: http://community.haskell.org/~ndm/darcs/hlint/hlint.htm -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On Nov 30, 2009, at 5:06 PM, Ivan Lazar Miljenovic wrote:
The "default" Hlint keybinding is C-c l:
Doesn't that violate the emacs proscription against taking "C-c (letter)" bindings, as they are intended to be reserved for the user? From the GNU Emacs manual: "Don't define C-c letter as a key in Lisp programs. Sequences consisting of C-c and a letter (either upper or lower case) are reserved for users; they are the *only* sequences reserved for users, so do not block them."

Tom Tobin
On Nov 30, 2009, at 5:06 PM, Ivan Lazar Miljenovic wrote:
The "default" Hlint keybinding is C-c l:
Doesn't that violate the emacs proscription against taking "C-c (letter)" bindings, as they are intended to be reserved for the user?
Well, the Emacs integration that comes with Hlint suggests that users use that key binding and provides the relevant hook, etc. to use it. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (4)
-
Ivan Lazar Miljenovic
-
Roel van Dijk
-
Svein Ove Aas
-
Tom Tobin