[erlang-bugs] erlang.el mis-indents whole-buffer selection
Mon Aug 26 13:34:09 CEST 2013
On Mon, Aug 26, 2013 at 1:25 PM, Tuncer Ayaz wrote:
> Previously it was just a certain function in rebar.erl which got
> mis-indented when you did a whole-buffer indent, but now there's also
> a second function which gets mis-indented.
> In both cases indenting the function itself separately works, and the
> bug happens if you select the whole buffer and indent that with
> erlang.el (C-x C-q).
Sorry, that should of course be (C-c C-q) instead.
> I'm using Emacs 24.3.1 with latest erlang.el from maint.
> Is it possible to fix this in the existing indenter?
>  https://github.com/rebar/rebar/blob/620c4b01c/src/rebar.erl#L318-L365
>  https://github.com/rebar/rebar/blob/620c4b01c/src/rebar_erlc_compiler.erl#L92-L112
More information about the erlang-bugs