<div dir="ltr">Hi,<div><br></div><div>I had the same itch!<br><div><br></div><div> * <a href="http://erlang.org/pipermail/erlang-questions/2016-April/088975.html">http://erlang.org/pipermail/erlang-questions/2016-April/088975.html</a><br></div><div><br></div><div> * <a href="https://github.com/mbucc/erlfmt" target="_blank">https://github.com/<wbr>mbucc/erlfmt</a> (which grew out of that thread)</div><div><br></div><div>I use it whenever I am coding with Erlang (and it also helped expose an erl_tidy bug [1] :).</div><div><br></div><div>Thanks,</div><div><br></div><div>Mark</div><div><br></div><div>[1] <a href="https://github.com/erlang/otp/commit/0969ecad9e2978bacb7b27f663cd16aa5ea6c460">https://github.com/erlang/otp/commit/0969ecad9e2978bacb7b27f663cd16aa5ea6c460</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 28, 2016 at 6:01 AM, Pierre Fenoll <span dir="ltr"><<a href="mailto:pierrefenoll@gmail.com" target="_blank">pierrefenoll@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We had too many discussions about style on a lengthy open source Erlang project (2600Hz's Kazoo).<div><br></div><div>We have now as part of our CI checks a style-ensuring tool that formats .erl .hrl .app.src .escript<br><div>in the "standard format" of Emacs' erlang-mode.</div><div><br></div><div><a href="https://github.com/fenollp/erlang-formatter" target="_blank">https://github.com/fenollp/<wbr>erlang-formatter</a> is now in version 1.<br></div><div>We use it daily which helps us redirect our shouting at CircleCI instead of colleagues.</div><div><br></div><div>And shouting is certainly great to redirect</div><div><a href="http://erlang.org/pipermail/erlang-questions/2014-February/076908.html" target="_blank">http://erlang.org/pipermail/<wbr>erlang-questions/2014-<wbr>February/076908.html</a><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div><div>This implementation uses emacs > 23 under the hood.</div><div>* It was the fastest & shortest way to implement</div><div>* erlang-mode is the closest thing to a standard there is for formatting</div><div>Some other tools / implementations are listed in the project's README.</div><div><br></div><div>So far this project helped uncover 4 bugs in erlang-mode which I minified & reported.</div><div><br></div><div>I share this in hope that this can help people & tame some shouting.</div><div>A non-Emacs implementation would be amazing (probably faster, more portable).</div><div>With your help this project can turn into a test bed for such an adventure!</div><div><br></div><div>A rebar3 fmt plugin is in the works.</div><div><br></div><div>Please tell me what you think but I don't care about your religious beliefs :)</div><div><br></div><div>Cheers,</div><span class="HOEnZb"><font color="#888888"><div>-- </div><div>Pierre Fenoll</div></font></span></div><div><br></div></div></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">Blogging at <a href="http://markbucciarelli.com" target="_blank">markbucciarelli.com</a></span><br></div><div>Tweeting @mbucc</div></div></div></div></div>
</div>