python-mode.el-6.0.3
Written for python-mode.el by Andreas Roehler on 2011-10-06
- commands `ipython', `python2', `python3', `jython', `python'
opening a respective python shell
- ipython integration started
- py-shift-
Implemented forms that way are
"paragraph" "block" "clause" "def" "class" "line" "statement"
- py-dedent
Dedent line according to `py-indent-offset'. With
arg, do it that many times. If point is between
indent levels, dedent to next level. Stops at BOL.
Returns column reached, if dedent done, nil otherwise.
- py-indent-
Indent line and move one line forward. If
`py-kill-
line. When closing a form, use py-close-block et al,
which will move and indent likewise. Returns position.
- py-down-block
Go to the beginning of next block below current level.
Returns position if block inside found, nil otherwise.
- py-close-block, -clause, -def, class
Set indent level to that of beginning of definition.
If final line isn't empty and
`py-close-
newline. Returns column.
- new commands specifying the shell override
`py-shell-name' for execution
implemented shells are "python" "python2" "python2.7"
"python3" "python3.2" "jython"
available with default, -switch and -no-switch
option, i.e.
py-execute-
py-execute-
py-execute-
Docstring of py-execute-
example: "Send the region to a common shell calling the
python3.2 interpreter. Ignores setting of
`py-shell-
will being switched to."
- Declarations
Deal with assigments resp. statements in current
level which don't open blocks. Provides common edit
functions as copy, mark, kill, goto beg/end.
Functions will be used typically to grasp
initialisations resp. assignements of variables
between the definition of a class or method and it's
body, likewise global stuff at the head of a file.
- column-marker.el added
Commands `column-marker-1', `column-marker-2', and
`column-marker-3' each highlight a given column
(using different background colors by default).