New in version 6.1.3
Written for python-mode.el by Andreas Roehler on 2014-01-28
- PEP8 indent-alternatives when closing a list implemented
Boolean `py-close-
my_list = [
1, 2, 3,
4, 5, 6,
]
result = some_function_
'a', 'b', 'c',
'd', 'e', 'f',
)
When non-nil, it will 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_
'a', 'b', 'c',
'd', 'e', 'f',
)
- Keys C-M-a, C-M-e usable for all top-level form, lp:1191078
Boolean `py-defun-
If non-nil, beginning- end-of-defun forms will use
`py-beginning
mark-defun marks top-level form at point etc.
Keys C-M-a, C-M-e usable for all top-level form, lp:1191078
- New commands:
py-beginning-
"Reach the beginning of block which starts at current column "
py-beginning-
py-beginning-
py-end-
py-mark-top-level
py-copy-top-level
py-delete-
py-kill-top-level
py-execute-
py-top-
py-comment-
py-beginning-
- `minor-block' commands added
A minor block is started by a `for', `if', `try' or `with',
while block covers also `def' or `class'
- variable `py-keep-
Setting `py-keep-
restore windows-
`py-switch-
`py-split-
an error occurs, it's displayed.
To suppres window-changes due to error-signaling
also, set `py-keep-
- boolean empty-line-
When non-nil, dedent after empty line following block
If non-nil, a C-j from empty line would dedent.
if True:
print("Part of the if-statement")
print("Not part of the if-statement")
- boolean py-debug-p, default is nil
When non-nil, keep resp. store information useful for
debugging. Temporary files are not deleted. Other
functions might implement some logging etc.
- heuristic exit
new var `py-max-
py-end-
`py-max-
a hang from a possibly eternal loop.
- `py-statement' no longer refferred to `py-copy-statement'
Same with block, def, expression etc. `py-statement' made
own command, which returns statement, a string.
- boolean `py-max-
If "*Python-
Updated .