[IPython-user] ipython + emacs py-execute-region problem.
ben.bob at gmail.com
Fri Oct 15 16:07:53 CDT 2004
> Thanks for the code.
Just found a minor bug (as always the case when you publicize some
real code). Instead of goto end of line for the last statement, we
should obvious to go to end of buffer. I mean,
(defun py-execute-statement-and-step ()
; if last statement.
(if (= (point) beg) (end-of-line 1 ))
(py-execute-region beg (point))
(if (= (point) beg) (end-of-buffer ))
I have posted the script on
http://bp6.stat.rice.edu:8080/download/Misc/emacs.python.el and will
not attach it here (to avoid further embarrassment. :-)
More information about the IPython-user