emacs: respect python mode in more minor modes