tab-width using a magic number when loaded, overwriting any global settings I have (namely, 2 spaces):
;;;###autoload (define-derived-mode markdown-mode text-mode "Markdown" "Major mode for editing Markdown files." ;; Natural Markdown tab width (setq tab-width 4)
This doesn't seem to be something I can advise on load. A load-hook also seems kind of hacky, and shadowing a specific copy of this file makes it brittle against updates. (Forking and submitting a PR is sort of a roundabout way too.)
What's a set-and-forget way to clobber this setting so that it obeys the global setting?