Tabs and padding in Emacs are a much more complex subject than most people predict. I highly recommend spending some time reading about this - it will almost certainly save you some confusion in the long run.
The following page in the Emacs Wiki brings together most of the relevant discussions: http://www.emacswiki.org/emacs/CategoryIndentation
There are many, but worth a look.
One or another configuration of TabsAreEvil and SmartTabs is likely to be attractive to you, by the way, depending on your personal opinions on this matter!
Make sure you read the page in the tab list variable. Itβs hidden at the bottom of this list of links, but itβs crucial to understanding the behavior of tabs in the absence of automatic indentation rules, as well as things like tabify.
Proper mode is also useful here. I turn it on automatically in text mode:
;; Use ruler in text-mode (add-hook 'text-mode-hook (function (lambda () (setq ruler-mode-show-tab-stops t) (ruler-mode 1))))
source share