2

In Emacs 24.2, in python-mode when hitting tab to indent, it prints out at the bottom which block this level closes.

In Emacs 24.3 (which I believe updates python-mode to use python.el), this does not happen anymore. It usually prints something like: Closes: class Hi():. Is this not supported in the new python.el in Emacs 24.3? Is there anyway I can get it working again?

I tried searching for this but I cannot find any discussion or anything about it.

darksky
  • 20,411
  • 61
  • 165
  • 254
  • Mmm.... this is working for me (24.3) for "else" "elif" "except" and "finally" block closing words. Could you describe a little bit how was it working for you in emacs 24.2? – juanleon Dec 11 '13 at 16:48
  • If emacs 24.2 supports "def" and "class" closing words... then I can tell by looking at the source code that python.el in emacs 24.3 does not support them. I would suggest a feature request for python.el maintainer. – juanleon Dec 11 '13 at 16:56
  • @juanleon It doesn't even work for if and elif for elif for me. I stared it without init file and it doesn't work either. How come it works for everything in the older python-mode? Anyway I can get that? – darksky Dec 11 '13 at 19:51
  • Yes, you can download and install the last version of python-mode if you prefer it to python.el. Use `M-x package-install`, for instance. It should be on main repos. Strange that the "elif" is not working for you, though... – juanleon Dec 12 '13 at 08:06

0 Answers0