From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Arndt via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72750: 29.3; indent-region changes semantics of python code Date: Sat, 21 Sep 2024 18:03:42 +0200 Message-ID: References: Reply-To: Michael Arndt Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------P0ZyzxCEPjfTwZWOmDM9lwJ8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20834"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 72750@debbugs.gnu.org To: kobarity , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 21 18:05:02 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ss2bV-0005G8-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Sep 2024 18:05:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ss2bD-0002dI-Rs; Sat, 21 Sep 2024 12:04:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ss2bB-0002d2-Tj for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 12:04:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ss2bB-0004nX-LS for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 12:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=jU0M1BZFw8MwKarlRmNapoYNZNVw+7l+c6emYLdLZGY=; b=Vh7hK0QUp2vtpCvYE5ImThr5YBY9tRuh/vq39cmL/6p7rFEjxsejdW6iOalm5ktbYJFuXE/191xzGsxj6ouYlSR6nHZcWQVAO1Ddd1rOl78psH7jnDv5x3UkX6zv9hOuP+QmljOFvPD7I4sul8hIdhDBD0FAduD+MpzAH9ZNEuObRexwjtRgSN4USzhI4nXHTUF+w0uHGgLjXovDEDqSPin6TfIl/QtLuPR9wpfuBcQOH0zvzclqi++EpWVhDaXlowIsYeaQjsIWMdamcXHRldfS1Zyz7PIKpjmRsPIa2GIzmLHZaKe8e3kEPPWNZXO4InMZaLyfhSvVkXKJHFvAVA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ss2bV-0000A8-Rz for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 12:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Arndt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72750 X-GNU-PR-Package: emacs Original-Received: via spool by 72750-submit@debbugs.gnu.org id=B72750.1726934658556 (code B ref 72750); Sat, 21 Sep 2024 16:05:01 +0000 Original-Received: (at 72750) by debbugs.gnu.org; 21 Sep 2024 16:04:18 +0000 Original-Received: from localhost ([127.0.0.1]:40233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss2ao-00008u-CF for submit@debbugs.gnu.org; Sat, 21 Sep 2024 12:04:18 -0400 Original-Received: from hognose1.porkbun.com ([35.82.102.206]:49882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss2am-00008f-Bf for 72750@debbugs.gnu.org; Sat, 21 Sep 2024 12:04:17 -0400 Original-Received: from [192.168.178.20] (cust-235-163-209-31.ip-customer.net [31.209.163.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: michael@rndt.dev) by hognose1.porkbun.com (Postfix) with ESMTPSA id 7C69944C21; Sat, 21 Sep 2024 16:03:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rndt.dev; s=default; t=1726934629; bh=jU0M1BZFw8MwKarlRmNapoYNZNVw+7l+c6emYLdLZGY=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=HwxJ8MluTypO17eSVbVQ1UrU2NYypt2TDKb/k/xOVvp7hjCMPjeo6vSnVbL1aB80l XuK2Gx2nKOYdliqz0KQwGw2LeMFcxUU8icaw9Y8h/uJ0hF8zm/d2nrGaNv0fakDnTo RDJjTRrg6zmL1EXSBtJMRo4pG60zV2e4odbEwfr4= Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292199 Archived-At: This is a multi-part message in MIME format. --------------P0ZyzxCEPjfTwZWOmDM9lwJ8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. --------------P0ZyzxCEPjfTwZWOmDM9lwJ8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
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.
--------------P0ZyzxCEPjfTwZWOmDM9lwJ8--