[Python-mode] python-mode.el-6.0.3 released

Andreas Röhler andreas.roehler at online.de
Thu Oct 6 21:00:14 CEST 2011

Hi all,

gladly announcing the release of python-mode.el-6.0.3.

Thanks Barry, Georg and all people assisting with
reports. Special thanks to Thomas Caswell and Tavis
Rudd, whose branches have been merged.

New in version 6.0.3:

- commands `ipython', `python2', `python3', `jython', `python'
   opening a respective python shell

- ipython integration started

-  py-shift-block-left, py-shift-block-right etc.
   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-forward-line
   Indent line and move one line forward. If
   `py-kill-empty-line' is non-nil, delete an empty
   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-block-provides-newline' non-nil, insert a
   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-region-python3.2-no-switch etc.

   Docstring of py-execute-region-python3.2-switch for
   example: "Send the region to a common shell calling the
   python3.2 interpreter. Ignores setting of
   `py-shell-switch-buffers-on-execute', output-buffer
   will being switched to."

- Declarations
   Deal with assignments resp. statements in current
   level which don't open blocks. Provides common edit
   functions as copy, mark, kill, go to beg/end.

   Functions will be used typically to grasp
   initialisations resp. assignments 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).




More information about the Python-mode mailing list