[erlang-questions] Controversial subject of the day: tabs and spaces for indentation

Vlad Dumitrescu <>
Wed Feb 5 22:57:04 CET 2014


On Wed, Feb 5, 2014 at 10:46 PM, Loïc Hoguin <> wrote:
> On 02/05/2014 10:32 PM, Vlad Dumitrescu wrote:
>>
>> If the debate uncovers some workarounds that make the pain less
>> painful (pun intended), then even better.
>
>
> Have you read the previous threads? Numerous solutions were posted. Here's a
> quick one for vim users:

Yep. I don't use vim either. For me it's SublimeText or Eclipse. The
batch emacs should work fine, but it's still just a workaround.

/Vlad


> http://erlang.org/pipermail/erlang-questions/2009-February/041719.html
>
> And even better if you want it to also look good and close enough to get
> your patch accepted:
>
> http://stackoverflow.com/questions/4085411/vim-indent-like-emacs
>
> (Values may be slightly different for erlang-mode, I don't have this
> configured yet on this laptop.)
>
> You can even use direnv to set an alias only for the erlang/otp folder on
> your machine that would use a special configuration file that includes those
> settings, so that you don't have to worry about it at all. (And if you don't
> like the direnv solution, there's a few others, including ones that only
> require vim.)
>
>
> --
> Loïc Hoguin
> http://ninenines.eu


More information about the erlang-questions mailing list