Bug#343242: Indentation doesn't carry over blank lines

2006-12-28 Thread David House
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

Bug#343242: Indentation doesn't carry over blank lines

2005-12-13 Thread Daniel Burrows
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 []