GNU bug report logs -
#14425
New option python-indent-parens-as-block
Previous Next
Reported by: Peter Oliver <bugs <at> mavit.org.uk>
Date: Mon, 20 May 2013 15:39:01 UTC
Severity: wishlist
Done: Peter Oliver <bugs <at> mavit.org.uk>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14425 in the body.
You can then email your comments to 14425 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14425
; Package
emacs
.
(Mon, 20 May 2013 15:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Oliver <bugs <at> mavit.org.uk>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 20 May 2013 15:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The Python style guide, http://www.python.org/dev/peps/pep-0008/, says:
> The closing brace/bracket/parenthesis on multi-line constructs may
> either line up under the last item of the list, as in:
>
> my_list = [
> 1, 2, 3,
> 4, 5, 6,
> ]
> result = some_function_that_takes_arguments(
> 'a', 'b', 'c',
> 'd', 'e', 'f',
> )
>
> or it may be lined up under the first character of the line that
> starts the multi-line construct, as in:
>
> my_list = [
> 1, 2, 3,
> 4, 5, 6,
> ]
> result = some_function_that_takes_arguments(
> 'a', 'b', 'c',
> 'd', 'e', 'f',
> )
At present, Emacs uses the former style. I'd prefer there to be an option to enable use of the latter style.
I am preparing a patch.
--
Peter Oliver
Reply sent
to
Peter Oliver <bugs <at> mavit.org.uk>
:
You have taken responsibility.
(Mon, 20 May 2013 15:45:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter Oliver <bugs <at> mavit.org.uk>
:
bug acknowledged by developer.
(Mon, 20 May 2013 15:45:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 14425-done <at> debbugs.gnu.org (full text, mbox):
My apologies. I'm running Emacs 24.2, but I see that the changes to python-mode in 24.3 mean that my preferred behaviour is now what's used. Closing.
--
Peter Oliver
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 18 Jun 2013 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.