473,691 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Recent python-mode updates

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*********@pyt hon.org. If
you find bugs or have enhancements, please submit a ticket on the
python-mode project at SourceForge.



Jul 18 '05 #1
0 993

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: David L | last post by:
I just got a book on Python and want to know how it stands compared to C++ and Java. I understand there was a 96 article comparing python with Java by Roger Masse. However there are many broken references to it (must have been good at the time). My interest in Python was motivated by my desire to use Berkeley DBXML and no VB6 bindings exist. So I thought Python may be a way into doing the DB work without having to learn C++. Thanks in...
by: Nova's Taylor | last post by:
Hi folks, I am a newbie to Python and am hoping that someone can get me started on a log parser that I am trying to write. The log is an ASCII file that contains a process identifier (PID), username, date, and time field like this: 1234 williamstim 01AUG03 7:44:31 2348 williamstim 02AUG03 14:11:20
by: David Abrahams | last post by:
Recently people testing Boost.Python with GCC on Linux have reported that the extensions being tested have to be compiled with exactly the same version of GCC as the Python they're being loaded into, or they get mysterious crashes. That doesn't correspond to my past experience; it has always been true that, as long as the compiler used to build Python and the one used to build the extension have compatible 'C' ABIs, we've been okay. ...
by: Larry Bates | last post by:
I recently upgraded from 2.2 to 2.4 (ActiveState for Windows). I was accustomed to having the most recent 10 files that I had edited show up under File menu under Recent. After upgrading these don't seem to be saved after exiting. I tried changing the number in the Preferences, but nothing seems to do any good. Has anyone else had this problem? Any ideas how I might fix it?
by: Konrad L. M. Rudolph | last post by:
I hope this is the right NG, please notify me if not. I have got a problem with the "recent files" list of the start page in VS.NET: yesterday I created a new projekt which has the same name as an already existing project stored at another location. Unfortunately, VS.NET doesn't seem to support double names in the "recent files" list: only /one/ entry with the double name is listed and even more unfortunate, it is the one which I don't...
by: William Payne | last post by:
Hello, have you seen a recent files menu in a GUI application? In many GUI applications there's a menu the displays the most recent files that has been opened by the program. Say such a menu has four entries and the most recent file is displayed on top and the oldest at the bottom. New entries are added at the top, pushing the oldest of the list. I wrote a class which I've named CircularContainer (please help me think of a better name!)...
by: VMI | last post by:
Are there any recent threads on who the best asp.net web host is? I asked the same question about a year and a half ago and I ended up with webhost4life.com . But now I need to renew and I'm beginning to research alternatives. Are there any new, better (and cheaper) web hosts? I liked webhost4life because it was cheap and it included sql server. Thanks. VS 2005 v2.0
by: zacks | last post by:
Most applications whose purpose is to work with various types of files implement a "Most Recent Files" list, where the last, say, four files accessed by the application can quickly be re-opened by clicking on the file name in the File menu. Thist list is usually just above the typical Exit menu item. I take it there is no "automatic" way of implementing this, that each application has to have code that manually does this. I have a good...
by: smarras | last post by:
Hello everyone, I keep obtaining an error message whenever I execute some very simple routines; the error that follows says that I am calling certain functions that, in reality, I am not calling from any of the routines that I wrote: error: 0, 0, 0, 0 , 0, 1, 2, 3 , 0, 2, 4, 6 Traceback (most recent call last):
by: skip | last post by:
RonI think most of us are annoyed by the recent SPAM messages that Roncrept onto our list. I'd like to suggest a possible solution, and Ronmaybe start a thread that eventually will rid us of this Ronunpleasantness. RonMy idea: RonOnce every few messages from the list owners, they would send a new Ronnumerical string that will have to be included in members' list Ronsubmission. A message being submitted without this numeric string
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.