Re: Align line-initial commas with opening parenthesis

Fredrik <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
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
> [email protected]
> 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

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.