An Emacs mode for editing Python code

Bazaar branches of python-mode.el

You can browse the source code for the development focus branch or get a copy of the branch using the command:
bzr branch lp:python-mode

There are download files available for python-mode.el.

python-mode.el has 9 active branches owned by 7 people and 1 team. There were 37 commits by 1 person in the last month.

Name Status Last Modified Last Commit
lp:python-mode
Series: trunk
bug(Linked to a blueprint) 2 Mature 2014-04-08 18:04:16 UTC 2014-04-08
1477. `py-fast-send-string', tests and fixes

Author: Andreas Roehler
Revision Date: 2014-04-08 18:04:16 UTC

`py-fast-send-string', tests and fixes

lp:python-mode/components-python-mode
Series: components-python-mode
bug(Linked to a blueprint) 1 Development 2014-04-08 18:04:18 UTC 2014-04-08
1987. `py-fast-send-string', tests and fixes

Author: Andreas Roehler
Revision Date: 2014-04-08 18:04:18 UTC

`py-fast-send-string', tests and fixes

lp:~barry/python-mode/debian 1 Development 2014-02-04 00:02:02 UTC 2014-02-04
19. urgency medium

Author: Barry Warsaw
Revision Date: 2014-02-04 00:02:02 UTC

urgency medium

lp:~tcaswell-gmail/python-mode/execute_refactor (Linked to a blueprint) 1 Development 2013-01-05 20:24:09 UTC 2013-01-05
1169. imporved how comint is handled fixe...

Author: Thomas Caswell
Revision Date: 2013-01-05 20:24:09 UTC

imporved how comint is handled

fixed spelling errors in comments

lp:~tcaswell-gmail/python-mode/window_fix (Has a merge proposal) 1 Development 2012-12-22 21:09:58 UTC 2012-12-22
1165. - Re-wrote py-shell-manage-windows - ...

Author: Thomas Caswell
Revision Date: 2012-12-22 21:06:14 UTC

- Re-wrote py-shell-manage-windows
- added helper function
- added custom switch py-on-execute-buffer-management-p
- removed (delete-other-windows) from code

I interpret the new switch as meaning 'try to make sure that the output buffer is visible after the code runs' ( py-on-execute-buffer-management-p )

If buffer management is disabled then everything else is ignored and emacs will not change anything about your buffers/windows.

If buffer management is enabled, then I interpret the switch flag as meaning 'make sure the current buffer/window after execution is the output buffer' and the split flag as 'if needed, emacs may create a new window by splitting the code buffer using the specified method'

This leads to the following logic

I) If there is only one window and splitting is disabled, then
    If switching is on, then we need to set the buffer in that window to the output buffer.
    If switching is off, nothing should change. (this is the one branch where emacs fails to make the output buffer visible)

II) if splitting is enabled and output buffer is not visible
IIa) if the number of windows is less than the maximum
  we split the code window, put the output in the new window, jump to III)
IIb) if the number of windows is not less than the maximum
  we select the least recently used window and set it to display the output buffer

III) if output buffer is visible
    we switch to it depending on if switching is enabled

lp:~russell-sim/python-mode/bp-remote (Linked to a blueprint)(Has a merge proposal) 1 Development 2012-07-26 00:14:26 UTC 2012-07-26
1037. Updated from trunk

Author: Russell Sim
Revision Date: 2012-07-26 00:14:26 UTC

Updated from trunk

lp:~kaofelix/python-mode/kao-fixes 1 Development 2012-03-29 02:13:17 UTC 2012-03-29
912. fix py-mark-class, py-mark-def, and p...

Author: Kao FĂ©lix
Revision Date: 2012-03-29 02:06:55 UTC

fix py-mark-class, py-mark-def, and py-mark-def-or-class

lp:~yagnesh/python-mode/py-shell (Has a merge proposal) 1 Development 2012-01-25 20:31:50 UTC 2012-01-25
803. * python-mode.el (py-choose-shell): ...

Author: yagnesh
Revision Date: 2012-01-25 20:16:23 UTC

* python-mode.el (py-choose-shell):

        py-choose-shell should respect user preference
        before going to guess.

lp:~handrake/python-mode/devel-0.1 0 Experimental 2009-11-16 23:58:23 UTC 2009-11-16
352. py-add-shell and py-choose-shell are ...

Author: handrake
Revision Date: 2009-11-16 23:58:23 UTC

py-add-shell and py-choose-shell are added to support multiple python shells. This is especially useful when you have more than one version of python and you need to switch between them frequently. (Or you simply want to avoid using cygwin python like I did...)

19 of 9 results
You can't create new branches for python-mode.el.