Recent python-mode updates

S

Skip Montanaro

For those who don't monitor python-mode checkins (does anyone? I doubt it),
I checked in a couple changes to the python-mode package in the past few
days which may be of interest. I thought I would post a note so interested
parties can beat on things.

* TAB key cycling - When you type a newline or hit the TAB key the cursor
moves to the mode-specific idea of the correct tab stop. Hit TAB again
and it will back out a stop. You can keep hitting TAB until the cursor is
in column 1, at which point hitting TAB one more time will reindent to the
"correct" tab stop.

* Completion using Pymacs - If you (require 'pycomplete) and have Pymacs
installed, as much of the dot expression preceding (point) will be
completed as possible. For example, with

import time

at the top of the file, if you enter

time.cl

into the current buffer and press M-TAB it will complete "time.clock" for
you. Global import statements are taken into account, though the code for
this is fragile. All of it could use improvement. I have no idea how to
hook into Emacs's builtin completion facility.

I created a 1.0alpha release (tar.gz), which is available on SourceForge:

http://sourceforge.net/project/showfiles.php?group_id=86916

If you have any questions, please direct them to (e-mail address removed). If
you find bugs or have enhancements, please submit a ticket on the
python-mode project at SourceForge.

Thanks,

Skip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top