What is the priority for tab type determination?


#1

Assume I have language-make installed, which has the setting for a Makefile to be hard tabs (as it should be). When the global setting tabType is set to auto (or soft), what is the priority? Will it:

  • try to determine the tab type using the auto logic, even though the file type says “hard”?
  • use “hard” because the file type says “hard”?

More importantly, how do I debug on a case by case basis what decision it is making?

I am using tab type = “auto”, soft tabs = “off”, and Makefile still gives soft tabs. I am more than happy to debug, but I do not know its priority decision process and how to explore what logic it is using.