I've got one Python source file which has somehow "remembered" the wrong indent mode. If I do "emacs foo.py", and then immediately do "c-h v indent-tabs-mode", it says, "Its value is t". All other python source files come up with indent-tabs-mode nil.
I do not have any literal tabs in the file. If I insert any new text, the indentation is done using tabs. At some point in the past, I did save (and check into version control) a version of the file which had tabs in it.
I'm using python-mode.el, version 5.1.0, and GNU Emacs 23.3.1. The file does open in Python mode.
What is going on here? Where has emacs stored some bit of state saying to set indent-tabs-mode for just this one file, and how did it get set in the first place?
indent-tabs-modesomewhere, maybe at top-level or within aneval-after-load. - Stefan