Hallöchen! Lars Ingebrigtsen schreibt: > Torsten Bronger writes: > >> When using python-mode and auto-fill-mode and writing docstrings for >> Python methods, a function/method decorator confuses python-mode so that >> it uses a too small indentation for a new line. Have a look at this >> example: >> >> class A: >> >> @property >> def a(self): >> """This is property a. blah blah blah blah blah blah blah blah blah >> blah blah blah blah blah blah blah blah blah blah >> >> """ >> >> If the "@property" line is removed, the second line in the docstring is >> properly indented. > > [...] > > I tried reproducing this in Emacs 26.1 and Emacs 28, and it seems to > work fine for me there. Are you still seeing this problem? No, I cannot reproduce this anymore with current Emacs. Regards, Torsten. -- Torsten Bronger