|
From: | GNU bug Tracking System |
Subject: | bug#59009: closed (python mode indentation behavior fix) |
Date: | Thu, 10 Nov 2022 10:27:02 +0000 |
Your message dated Thu, 10 Nov 2022 12:26:48 +0200 with message-id <837d03rtp3.fsf@gnu.org> and subject line Re: bug#59009: python mode indentation behavior fix has caused the debbugs.gnu.org bug report #59009, regarding python mode indentation behavior fix to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 59009: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59009 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: python mode indentation behavior fix Date: Thu, 3 Nov 2022 18:41:42 +0300 This patch will fix this bugĀ #42513.
Also problems with same behaviour with pair of statements when one of them is multiline with prantaces like https://pastebin.com/Z1yFbMtp.
with bestĀ regards Misiura Rostislav0001-python.el-Opening-block-search-fix.patch
Description: Text Data
--- End Message ---
--- Begin Message ---Subject: Re: 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.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |