[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match
From: |
Noam Postavsky |
Subject: |
bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 |
Date: |
Sat, 20 Apr 2019 16:51:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
tags 20742 + patch
quit
>> 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. #20742
>
> I'm having trouble applying this.
>
> error: corrupt patch at line 11
> Applying: python.el: fix close paren indentation to match pep8
> Patch failed at 0001 python.el: fix close paren indentation to match pep8
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.
0001-python.el-Fix-close-paren-indentation-to-match-pep8-.patch
Description: patch
0002-Add-test-for-previous-change.patch
Description: patch
- bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8,
Noam Postavsky <=