Disable auto indent globally in Emacs
问题 How to disable auto indent in Emacs globally or only for some modes? I have a number of packages installed for RubyOnRails (ruby, html, js, css). Let's say I want to disable autoindent for css-mode. 回答1: You may want to look for variable names containing the word electric . (This is the common Emacs parlance for actions which occur automatically when particular visible characters are typed.) In this instance, M-x apropos-variable RET electric RET shows me that there is a css-electric-keys