[erlang-patches] [erlang-bugs] erlang.el indenter

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Aug 23 00:07:02 CEST 2012


On Wed, Aug 22, 2012 at 11:42 PM, Tomas Abrahamsson wrote:
>>>> Here is a patch for indenting of multi-line strings
>
>> A quick test revealed that erlang.el from 'pu' erroneously
>> re-indents the already correctly indented rebar:option_spec_list/0
>> and also rebar:commands/0. Can you reproduce the regression?
>
> I see what you mean. Will try to fix it.

Thanks. Are the erlang.el changes in 'pu' susceptible to new
mis-indentations by nature? The original issue is not important
enough to introduce regressions if fixing it means erlang.el
will get imprecise or hard to get right.
Out of curiosity, what about using erl_parse, erl_scan, etc. via an
escript instead? Does that sound viable and make sense?



More information about the erlang-patches mailing list