Re: erlang.el mis-indents whole-buffer selection
Tuncer Ayaz <[email protected]> Sun, 29 Jun 2014 20:10:13 +0200
| Newsgroups | gmane.comp.lang.erlang.bugs,gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CAOvwQ4jVrJ4PmayK0YYXLdv+J3gENisDkZyEj=5PuiDycu=HRw@mail.gmail.com> |
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) _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs