Set 4 Space Indent in Emacs in Text Mode

后端 未结 20 2307
梦谈多话
梦谈多话 2020-11-29 15:27

I\'ve been unsuccessful in getting Emacs to switch from 8 space tabs to 4 space tabs when pressing the TAB in buffers with the major mode text-mode.

20条回答
  •  被撕碎了的回忆
    2020-11-29 15:41

    By the way, for C-mode, I add (setq-default c-basic-offset 4) to .emacs. See http://www.emacswiki.org/emacs/IndentingC for details.

提交回复
热议问题