Emacs flymake for HTML and Haskell modes
I’m using the default Emacs 23 on Ubuntu 11.10 and both the HTML and Haskell flymake modes seem to be broken. For the HTML mode the problem seems to be that the version of xmlstarlet installed on Ubuntu needs another command line switch to make it print out the information that flymake needs, like line numbers. Here is some elisp code to fix that:
(defun flymake-xml-init ()
(list "xmlstarlet"
(list "val" "-e" "-q"
(flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))))
Strictly speaking I don’t think the -q argument is actually needed, but it suppresses a superfluous line in the output.
Read more: Emacs flymake for HTML and Haskell modes → · 1 comment