Closed vale981 closed 2 years ago
No clue tbh. I have only copied shabble's code :P. It seems that python.el has to be above 0.28.
@glyph Indeed it should be python.el
version dependent.
I get the issues on Emacs 27.1, for what it's worth. I've been using this fix, which works.
Do you have a setup with python.el 0.28 where you don't see the problem reported in my original issue?
@timlod Interesting. My build of Emacs 27.2 (from https://github.com/d12frosted/homebrew-emacs-plus ) includes a python.el that identifies itself as 0.26.1. How are you installing python.el?
Very confusing. ELPA lists https://elpa.gnu.org/packages/python.html as 0.28 which is an upgraded version, but then points at https://github.com/fgallina/python.el as the website which says the repo is no longer maintained.
I pushed an alternate fix (one that doesn't break on older / stock versions of python.el) in https://github.com/glyph/python-docstring-mode/commit/0dbc133cc9f207a448e59f3849c5e3ca51da7bd6 . Hopefully this addresses everybody's issues!
credits to https://github.com/shabble
fixes #30