There is a project called Piglit with a
.dir_locals.el file like this:
((nil . ((indent-tabs-mode . t))) (python-mode . ((indent-tabs-mode . nil))))
I think the intention is that most files in the project should use
indent-tabs-mode but Python files should not. However this doesn’t seem to work. As far as I can tell the definition for the
nil mode overrides the definition for the Python mode and Emacs enables tab indentation for Python files. Is there any way to correctly implement the intended behaviour?