Subject: Re: bug#21583: 25.0.50; Python mode uses wrong indentation in docstrings

From: Torsten Bronger <[email-masked]>
Date: Wed, 9 Dec 2020 00:14:51 +0100

Hallöchen!

Lars Ingebrigtsen schreibt:

> Torsten Bronger <[email-masked]> 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