I use google-c-style.el for C/C++ projects in Emacs. Like many Emacs modes, the indentation is automatically set. For any given file I can open it, select the whole document, then press Tab to reset all indentations, save it, then exit. for C/C++ projects in E