I can't find this: How do I use 4 SPACES instead of a TAB in EMACS?
I am making the jump to EMACS, and I can't find what I need to do in my .emacs file to get php-mode AND all other modes to insert 4 spaces instead of a TAB. Help? UPDATE: When I hit tab I still get 8 spaces in a plain file with the given answers. In php-mode I still get 2 spaces. Hitting tab in php mode does nothing, tab in regular EMACS adds 8 spaces. UPDATE2: This is what I have in my .emacs : (require 'color-theme) (color-theme-calm-forest) (setq-default indent-tabs-mode nil) (setq-default tab-width 4) (setq c-basic-offset 4) Still in regular files 8 spaces, and in PHP files the tabbing