Problem with Emacs mode, at start only

François Pinard pinard at
Sat Feb 19 02:32:16 CET 2000

Alex <alex at> 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

More information about the Python-list mailing list