New in version 6.1.2
Written for python-mode.el by Andreas Roehler on 2013-09-02
- simplified menu
- `py-execute-
Controlled by boolean `py-store-
When non-nil, put resulting string of `py-execute-...' into kill-ring, so it might be yanked.
- commands deleting all commented lines:
`py-delete-
`py-delete-
`py-delete-
`py-delete-
- boolean `py-indent-
If non-nil, indents elements of list a value of `py-indent-offset' to first element:
def foo():
if (foo &&
baz):
bar()
Default lines up with first element:
def foo():
if (foo &&
baz):
bar()
- `py-output-buffer' made customizable
See boolean `py-enforce-
- exceptions following executed regions made point to source
- command `py-empty-
Deletes all elements from list before point
With when cursor after
mystring[0:1]
-------------^
==>
mystring[]
---------^
In result cursor is insided emptied delimited form."
- `py-minor-
grasps keyword-arguments
- boolean `py-electric-
If behind a delimited form of braces, brackets or parentheses,
`py-electric-
- py-flakes8-run, flakes8 API
- customizable `py-backslashed
- boolean `py-pylint-
If current buffers file should be offered for check.
Otherwise `py-pylint-run' looks up filename from history
- boolean `py-prompt-
When called interactively, ask for save before a
changed buffer is sent to interpreter.
- customizable `py-closing-
Number of chars, closing parenthesis outdent from opening
- customizable `py-uncomment-
When non-nil, after uncomment indent lines.
- boolean `py-load-
If skeleton definitions should be loaded
- boolean `py-if-
Allows execution of code inside blocks started by
if __name__== '__main__'
- boolean `py-highlight-
When py-execute-... commands raise an error, respective code in source-buffer will be highlighted.
- `py-remove-
Remove overlays as set when `py-highlight-
- `py-which-
- unused variable `py-backspace-
- Bundled third-party-stuff removed as reported conflicting at emacs-mirror, lp:1153998
affects autopair.el, smart-operator.el
Kept menu switches resp. commands will issue a warning
- dropped `py-paragraph-
- `py-set-
If non-nil, $PAGER is set to 'cat'
- in directory doc customizable variables are listed:
variables-
Caveat: Please save buffer before C-c C-c, otherwise a bug shows up.
Bug is fixed in current trunk.
Updated .