4 ms·
> The more interesting question is why tab users haven't noticed that we use mandatory auto-code-formatting these days, to make sure all your tabs are belong to
by TeMPOraL 3y ago
> The more interesting question is why tab users haven't noticed that we use mandatory auto-code-formatting these days, to make sure all your tabs are belong to us.
I'm guessing they're using an equivalent of `M-x tabify` running automatically after opening a file.
Excerpt from documentation on `tabify` in Emacs:
Convert multiple spaces in region to tabs when possible.
A group of spaces is partially replaced by tabs
when this can be done without changing the column they end at.
If called interactively with prefix ARG, convert for the entire
buffer.
Personally, I'm a "space user", and I only have `delete-trailing-whitespace` run on save (`before-save-hook`); at work, we have a pre-commit hook that untabifies committed changes (and then another to run language-specific autoformatter).