Skip to content

Broken indentation in Emacs 24.5 #1013

Closed
@jstolarek

Description

@jstolarek

I recently updated my Emacs installation to version 24.5.1 and discovered that in haskell mode upon entering a new line indentation behaves in an unexpected and unintuitive way. In these examples below X shows where the point is set upon pressing Enter at the end of previous line and Y shows where it used to be set before upgrading Emacs:

module Foo where
Y   X
foo :: Bool
Y      X
data A = A

Y      X
instance Foo a where
    bar A A = A
    Y       X

Using haskell-mode just became extremely annoying :| I am using haskell-mode from melpa, version 20151202.34 (ie. today's build).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions