lp:~tcaswell-gmail/python-mode/execute_refactor

Created by Thomas Caswell and last modified
Get this branch:
bzr branch lp:~tcaswell-gmail/python-mode/execute_refactor
Only Thomas Caswell can upload to this branch. If you are Thomas Caswell please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thomas Caswell
Project:
python-mode.el
Status:
Development

Recent revisions

1169. By Thomas Caswell

imporved how comint is handled

fixed spelling errors in comments

1168. By Thomas Caswell

More work on getting the window management right

1167. By Thomas Caswell

first work at getting window management to work

1166. By Thomas Caswell

First pass at re-factoring py-execute-*.

The functions py-execute-buffer-finally and py-execute-buffer-file
are almost identical and can be merged up into py-execute-base. This
is beneficial because than all of the commands that might muck with
the buffer or window configuration can be wrapped in (save-window-excursion)
which will guarantee that we can then run (py-execute-manage-windows) on
the exact same configuration the user had when they started the execution.

This commit has at least (what I think) are the basic use cases
covered (but no window management yet). I stripped out a lot of stuff that looked like it
wasn't used, or wasn't needed that may very well need to go back in.

1165. By Andreas Roehler

inconvenient splitting behavior, lp:1018996, again

Thanks Thomas Caswell for the patch

1164. By Andreas Roehler

python-mode.el comments start a new line, lp:1092847, fixed

`py-electric-comment-p' new default nil

1163. By Andreas Roehler

defvar outline-heading-end-regexp breaks other packages, lp:1091400

Thanks Thomas Caswell for the report

1162. By Andreas Roehler

temporary files remain when python raises exception, lp:1083973

Execution reconsidered: when code is executed from
buffer these options are given:

- python-mode-v5-behavior, a quite simple and effective way.
  Setting `python-mode-v5-behavior-p' to `t' makes it the default.

- if a buffer-file exists and buffer is unchanged, it's file is executed as is.

- in all other cases a temporary file is created.
  Setback: in case of error, returned error code points
  here, i.e. indicated error-line-numbers are not that of
  orginal buffer.

1161. By Andreas Roehler

wrong-indentation-after-return-or-pass-keyword, lp:1087499, test added

provide `py-font-lock-syntactic-face-function'

1160. By Andreas Roehler

wrong indent after asignment, lp:1087404, fixed

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:python-mode
This branch contains Public information 
Everyone can see this information.