[Python-mode] [ python-mode-Patches-1064058 ] Two minor tweaks to python-mode

SourceForge.net noreply at sourceforge.net
Sat Jun 4 23:01:05 CEST 2005


Patches item #1064058, was opened at 2004-11-10 13:12
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=1064058&group_id=86916

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Rory Yorke (ryorke)
Assigned to: Nobody/Anonymous (nobody)
Summary: Two minor tweaks to python-mode

Initial Comment:
python-mode has two slightly annoying behaviours, which
this patch attempts to address:

1) py-shell always changes mode-name of buffer

This happens because py-toggle-shells changes mode-name
regardless of what it was before (e.g., invoke py-shell
from a Elisp-mode buffer, mode-name becomes Python).

2) py-shell always switches to a new window

This happens even if py-shell is invoked when the
*Python* buffer is the active buffer; one then ends up
with two windows showing the *Python* buffer.

The patch is against python-mode.el revision 4.67.


----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2005-06-04 16:01

Message:
Logged In: YES 
user_id=44345

Rory,  I applied part one of your patch as v 4.73.  At first I thought I
couldn't reproduce the part two problem.  Then I read what you wrote
properly and discovered it was still a problem.  That went into v 4.74.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=1064058&group_id=86916


More information about the Python-mode mailing list