Hello When I write record definition without member type, emacs has correct indentation: <pre> -record(state, { sequence_number = 1 }). </pre> But when I put type definition, it looks like: <pre> -record(state, { sequence_number = 1 :: integer() }). </pre> -- Maxim Treskin