Many Emacs modes seem to obey tab-width, e.g. (setq-default tab-width 2). But a few modes define their own variables for this:
Could we refactor these modes to use the standard variables tab-width, indent-tabs-mode, and sws-tab-width? We can maintain backwards compatibility by continuing to offer nonstandard variables like js-indent-level, by deriving them from the standard variables.
... could we refactor sws-mode to derive sws-tab-width from tab-width?
--
Cheers,
Andrew Pennebaker