I want to override the insane default tabbing scheme in emacs so that it will work like most other editors (eclipse, notepad++). For some reason I can't get it to go.
I found a tutorial online ( first google result ), but none of the things there seemed to work.
I want to set it so that regardless of mode, tab will insert a tab, and pressing enter will keep me at my current tab depth.
I have:
(global-set-key (kbd "TAB") 'tab-to-tab-stop)
(setq default-tab-width 4) ;; 8 is way too many
but it does nothing.