From: Eli Zaretskii <eliz@gnu.org>
To: kobarity <kobarity@gmail.com>
Cc: 59009-done@debbugs.gnu.org, rostislav9999@gmail.com
Subject: bug#59009: python mode indentation behavior fix
Date: Thu, 10 Nov 2022 12:26:48 +0200 [thread overview]
Message-ID: <837d03rtp3.fsf@gnu.org> (raw)
In-Reply-To: <eke7leomhnoj.wl-kobarity@gmail.com> (message from kobarity on Mon, 07 Nov 2022 22:57:48 +0900)
> 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.
prev parent reply other threads:[~2022-11-10 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 15:41 bug#59009: python mode indentation behavior fix Randomneo
2022-11-06 8:18 ` Eli Zaretskii
2022-11-07 13:57 ` kobarity
2022-11-10 10:26 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837d03rtp3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59009-done@debbugs.gnu.org \
--cc=kobarity@gmail.com \
--cc=rostislav9999@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.