[erlang-patches] Align line-initial commas with opening parenthesis
Fredrik
fredrik@REDACTED
Tue Jun 18 16:07:06 CEST 2013
On 06/18/2013 04:04 PM, Magnus Henoch wrote:
> This patch makes the Emacs erlang-mode accomodate the coding style where
> lists written across several lines have each line starting with a comma:
>
> [ just
> , like
> , this
> ]
>
> The current erlang-mode lines up the commas with the first list element
> ('just' in the sample above). With this change, the commas are lined up
> with the opening parenthesis. A more elaborate test case is included in
> the patch.
>
> As far as I can see, this doesn't affect code written according to the
> "normal" coding style.
>
> git fetch git://github.com/legoscia/otp.git line-initial-commas
>
> https://github.com/legoscia/otp/compare/legoscia:line-initial-commas
> https://github.com/legoscia/otp/compare/legoscia:line-initial-commas.patch
>
> Regards,
> Magnus
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Hello Magnus,
I've fetched your patch and it will be visible in 'pu' when R16B01 has
been released and it can earliest be included in R16B02.
Thanks,
--
BR Fredrik Gustafsson
Erlang OTP Team
More information about the erlang-patches
mailing list