[erlang-questions] Controversial subject of the day: tabs and spaces for indentation
Wed Feb 5 20:49:07 CET 2014
I tended to solve that problem by opening a file, automatically
substituting a tab by 8 spaces (:%s/\t/ /g) and doing the
opposite at the end of my editing session (:%s/ /\t/g).
Nobody on the OTP team has yelled at me so far, so I kept doing that
whenever I played around that code base.
On 02/05, Andrew Thompson wrote:
> On Wed, Feb 05, 2014 at 07:14:30PM +0100, Vlad Dumitrescu wrote:
> > Hi all,
> > It's been almost a full day since the last controversial issue was
> > discussed here and I feel it's time for a new one (well, it's actually
> > old).
> > The default indentation used by the erlang-mode uses a mix of tabs and
> > spaces. Whatever side one is in the "tabs vs spaces" war, mixing them
> > is the common enemy!
> As a vim user, I find the emacs indent mode for erlang incredibly
> annoying to 'fake' by hand. I'd love to see the tabs die as mixing tabs
> and spaces makes erlang files a horrible mess when your tabstop is not
> erlang-questions mailing list
More information about the erlang-questions