[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentati
From: |
Lars Ingebrigtsen |
Subject: |
bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 |
Date: |
Thu, 17 Sep 2020 20:59:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Noam Postavsky <npostavs@gmail.com> writes:
> I managed to get this applied; I've replaced the python-test.el
> modifications, partly because they're written as updates to the existing
> tests which makes them a bit harder to follow, and partly to make more
> clear that the patch is below the 15 line copyright limit.
>
> I'll push to master in a week or so if there are no further comments.
Looks like this was done, so I'm closing this bug report.
commit 3fc1d77a43818666542740fc34167c1faee30d5f
Author: Tommi Komulainen <tommi.komulainen@iki.fi>
AuthorDate: Fri Jun 19 18:53:52 2015 +0200
Commit: Noam Postavsky <npostavs@gmail.com>
CommitDate: Sun Apr 28 16:45:13 2019 -0400
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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8,
Lars Ingebrigtsen <=