Problem with Emacs mode, at start only

François Pinard pinard at iro.umontreal.ca
Fri Feb 18 20:32:16 EST 2000


Alex <alex at somewhere.round.here> writes:

> (define-key py-mode-map "\C-c\C-c"
>   '(lambda () (interactive)
>      (save-window-excursion
>        (py-shell)
>        (while
> 	   (save-excursion
> 	     (sleep-for 0.1)
> 	     (beginning-of-line)
> 	     (not (looking-at ">>>")))))
>      (py-execute-buffer)))

Thanks a lot, again.

P.S. - Please privately send me your full name and email address, so I could
add a reference comment for the bits of code you sent me.  I usually do.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard






More information about the Python-list mailing list