I want to make emacs insert either 4 spaces or a tab when I press the tab key. Nothing else. I don't want smart indentation, I don't want it to auto-align itself or try to do anything smart. I just want it to output 4 spaces (or a tab). =
|
feedback
|
|
The problem is that each mode in emacs defines the TAB key diferently. To get a global behavior, look at Trey Jackson's answer in http://stackoverflow.com/questions/344966/sane-tab-in-emacs
You may want to use | ||||
|
feedback
|
|
Try this. Find your .emacs and add this:
this make your emacs inserts 2 spaces, you can change the number and put 4,
if you want spaces NO tabs | |||
|
feedback
|
