No, I had already fixed that before. Maybe it's because of my customization? The py- variables are set like this:
'(py-closing-list-dedents-bos t) '(py-encoding-string "# -*- coding: utf-8 -*-") '(py-honor-comment-indentation t) '(py-imenu-show-method-args-p t) '(py-load-python-mode-pymacs-p nil) '(py-shebang-startstring "#!/usr/bin/env") '(py-shell-name "ipython") '(py-shell-switch-buffers-on-execute nil)
It kind of seems to me like python-mode does find the correct indentation, but the logic cycling through the different possible indentation levels is flawed; maybe some cycle state needs to be reset?
No, I had already fixed that before. Maybe it's because of my customization? The py- variables are set like this:
'(py-closing- list-dedents- bos t) string "# -*- coding: utf-8 -*-") comment- indentation t) show-method- args-p t) python- mode-pymacs- p nil) startstring "#!/usr/bin/env") switch- buffers- on-execute nil)
'(py-encoding-
'(py-honor-
'(py-imenu-
'(py-load-
'(py-shebang-
'(py-shell-name "ipython")
'(py-shell-
It kind of seems to me like python-mode does find the correct indentation, but the logic cycling through the different possible indentation levels is flawed; maybe some cycle state needs to be reset?