[erlang-patches] [erlang-bugs] erlang.el mis-indents whole-buffer selection
Tuncer Ayaz
tuncer.ayaz@REDACTED
Sun Jun 29 20:10:13 CEST 2014
On Sun, Jun 29, 2014 at 6:47 PM, Tuncer Ayaz wrote:
> On Sun, Jun 29, 2014 at 4:10 PM, Magnus Henoch wrote:
> > While playing with the code, I realised that there's a much simpler
> > solution: explicitly run syntax highlighting before indenting; that
> > way all syntax properties will be set.
> >
> > git fetch git://github.com/legoscia/otp.git fontify-before-indentation
> >
> > https://github.com/legoscia/otp/compare/fontify-before-indentation
>
> Nice, thanks Magnus!
>
> Does the patch allow me to set (global-font-lock-mode 0) without
> breaking erlang-mode?
I tried your branch, and I still see the same behavior:
* rebar_erlc_compiler:clean is mis-indented only when I set
(global-font-lock-mode 0)
* the multi-line <<"string">> in rebar.erl is mis-indented with and
without (global-font-lock-mode 0)
More information about the erlang-patches
mailing list