haskell/haskell-mode — pull request #207 by sergv (2013-10-23 23:44:44+00:00)
Title: Tweak filename and warning recognition for compilation regexps

For example, ghc 7.4 outputs "Warning:" on different line than filename itself
and previous regexps do not handle it:
```
/home/hackerjoe/HelloWorld.hs:23:1-28:
Warning: The import of `Control.Monad' is redundant
except perhaps to import instances from `Control.Monad'
To import instances alone, use: import Control.Monad()
```

Regarding spaces in filenames, they aren't the best idea, but context of
compilation regexps seems to allow reliable filename recognition since
filenames are given as full paths and beginning of filename part is either bol
or space character.