I\'ve been unsuccessful in getting Emacs to switch from 8 space tabs to 4 space tabs when pressing the TAB in buffers with the major mode text-mode.
text-mode
The best answers did not work for until I wrote this in the .emacs file:
(global-set-key (kbd "TAB") 'self-insert-command)