By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,750 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

Recent python-mode updates

P: n/a
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

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:

If you have any questions, please direct them to py********* If
you find bugs or have enhancements, please submit a ticket on the
python-mode project at SourceForge.



Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.