[erlang-bugs] Wrong emacs indentation of records with defined types

Maxim Treskin <>
Fri Mar 26 08:01:26 CET 2010


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


More information about the erlang-bugs mailing list