I want all tabs to be 4 spaces. I have the following in .emacs
.emacs
(setq-default indent-tabs-mode nil) (setq c-basic-indent 4) (setq tab-width 4) >
Declare a default C indentation style, rather than declaring specific style parameters.
(setq c-default-style "k&r2") ;; or whatever your preference is (set-default 'indent-tabs-mode nil)