This is one of those things that has bugged for a while, but that I just recently got around to fix. By default, Emacs uses tabs (and spaces) while indenting a line. As tabs aren’t the same in every editor, it will very often look weird when you look at the code. Therefor, having Emacs instead do the indentation with spaces will universally fix it. Just add the following lines to your ~/.