Emacs does what the author wants out of the box, I think.  It indents with tabs until that is no longer possible, then it switches to spaces.  I don't really see what this buys anyone (except confusion), so I disable it and only use spaces.<p>This article did not convince me to change my mind.  (It did convince me that the author knows nothing about Emacs, like most Vim users.)