The attached patch fixes this problem. It refines the
'haskell-indent-start-of-def' function, which previously searched for
the beginning of a definition by the first non-comment character after
searching backwards for an empty line. The code now searches backwards
for the furthest away line which
Package: haskell-mode
Version: 2.1-1
Severity: normal
The indentation figure-outter doesn't seem to remember the current
indentation past a blank line, which makes it a bit difficult to group
indented code with vertical whitespace.
For instance, take the following silly example.
f = g []
2 matches
Mail list logo