bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59009: python mode indentation behavior fix


From: Eli Zaretskii
Subject: bug#59009: python mode indentation behavior fix
Date: Thu, 10 Nov 2022 12:26:48 +0200

> Date: Mon, 07 Nov 2022 22:57:48 +0900
> From: kobarity <kobarity@gmail.com>
> Cc: Randomneo <rostislav9999@gmail.com>,
>       59009@debbugs.gnu.org
> Unfortunately, the presented patch breaks the ERT
> python-indent-electric-colon-4.
> 
> I think the problem lies in the forward-line after block-start
> detection.  The while loop is used to detect indentation inside the
> block, so if block-start spans multiple lines, it should start at the
> next line.  To address this issue, I propose to add
> python-nav-end-of-statement before forward-line.  Attached is the
> patch with an ERT.

Thanks, installed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]