I'm about to set EMACS put tabs instead of spaces when auto-indent, but cannot find any clue in the manual.
I tried this:
(setq standard-indent 8)
(setq-default tab-width 8)
, but somewhy there is still 2 characters instead of 8, and they are spaces, not tabs.
Major modes can override indentation settings. Whatever major mode you are using apparently overrides the indentation offset as well as
indent-tabs-mode
.To re-enable tabs again, define the following function, and add it the hook of the affected major mode:
Take care, though, because a major mode normally has a good reason to apply specific indentation setting.