GNU bug report logs - #72750
29.3; indent-region changes semantics of python code

Previous Next

Package: emacs;

Reported by: Michael Arndt <michael <at> rndt.dev>

Date: Wed, 21 Aug 2024 18:09:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 29.3

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Michael Arndt <michael <at> rndt.dev>, kobarity <kobarity <at> gmail.com>
Cc: 72750 <at> debbugs.gnu.org
Subject: Re: bug#72750: 29.3; indent-region changes semantics of python code
Date: Sat, 21 Sep 2024 18:05:52 -0700
tags 72750 + notabug wontfix
close 72750
thanks

Michael Arndt <michael <at> rndt.dev> writes:

> On 21.09.24 16:51, kobarity wrote:
>> I agree.  Even though `python-indent-region' can be improved to some
>> extent, it seems to me that it is better to use an external tool like
>> "black" to preserve the semantics and format the entire buffer.
> That's fine for me too. I will use something like `eglot-format' to
> format my python files instead. Thank you.

You could also try the package `blacken`:

    https://github.com/pythonic-emacs/blacken

I'm closing this bug report.




This bug report was last modified 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.