You are not logged in.
Pages: 1
I use Emacs for writing a lot of plain text (i.e. .txt files) and I'm having a bit of trouble with the text-mode default indent style.
What I want is pretty simple: Tabs should be 2 characters long (but still tabs, not spaces) and inserted whenever I press Tab, regardless of where in the text I am.
I've had no luck in figuring out how to get this behaviour though. I've edited the edit-tab-stops variable to what I want, but the Tab key still seems to be bound to some other command, and tab-stops seems to insert spaces anyway. Any other ideas?
Offline
This page has a lot of information: http://www.pement.org/emacs_tabs.htm
Offline
Brilliant, thanks so much!
I bound Tab to tab-to-tab-stop and added a text-mode-hook that defines tab-stop-list to what I want, works like a charm.
Offline
Pages: 1