enable font-lock-mode either M-x font-lock-mode or in your new .emacs file (global-font-lock-mode 1) On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan wrote: > Hi, > I lost the font color in c++-mode after I deleted the .emacs file > mistakenly. What do I need in my .emacs in order to display different colors > in c++-mode? Thanks. > Shiyuan >