Set 4 Space Indent in Emacs in Text Mode

后端 未结 20 2315
梦谈多话
梦谈多话 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:42

    You may find it easier to set up your tabs as follows:

    M-x customize-group
    

    At the Customize group: prompt enter indent.

    You'll see a screen where you can set all you indenting options and set them for the current session or save them for all future sessions.

    If you do it this way you'll want to set up a customisations file.

提交回复
热议问题