Setting tab size in Emacs
问题 I'm using Emacs as an editor. I want to set the tab size to four spaces. In my .emacs file I have the following: (setq default-tab-width 4) I've also tried: (set-default tab-width 4) Either way, when I open emacs and try to tab, it inserts two spaces. Am I doing something wrong? It almost seems like its not seeing my .emacs file. Any suggestions would be great! Thanks! 回答1: The tab-width variable doesn't determine the amount of indenting per level, and the TAB key doesn't insert a tab: it