GNU bug report logs - #20560
24.5; I am not happy with the new Python mode indentation behaviour

Previous Next

Package: emacs;

Reported by: Fabrice Salvaire <fabrice.salvaire <at> orange.fr>

Date: Tue, 12 May 2015 15:44:02 UTC

Severity: wishlist

Tags: confirmed

Merged with 33979

Found in versions 24.5, 26.1

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 20560 <at> debbugs.gnu.org
Subject: Re: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation
 to match pep8
Date: Thu, 17 Sep 2020 15:22:10 -0400
On Thu, 17 Sep 2020 at 14:59, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Looks like this was done, so I'm closing this bug report.

>     python.el: Fix close paren indentation to match pep8 (Bug#20742)
>
>     * lisp/progmodes/python.el (python-indent--calculate-indentation):
>     When opening paren is followed by newline the closing paren should
>     follow the current indentation.  Otherwise the closing paren should be
>     aligned with the opening paren.  This fixes the latter case.
                                                      ^^^^^^

You're mixing up bugs, I think. As far as I know, 20560/33979 isn't
fixed. I had closed 20742/19906 already when pushing that commit.




This bug report was last modified 4 years and 272 days ago.

Previous Next


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