Problem with Emacs mode, at start only
Stuart Reynolds
S.I.Reynolds at cs.bham.ac.uk
Fri Feb 18 10:46:32 EST 2000
François Pinard wrote:
>
> P.S. - By the way, `C-c C-c' is an unfortunate binding,
Save yourself from RSI and put this in your .emacs file:
(defun my-python-mode-hook ()
; (local-set-key [backspace] 'py-electric-backspace)
(local-set-key [f1] 'py-shell)
(local-set-key [f2] 'py-execute-buffer)
(local-set-key [f3] 'py-execute-region)
)
(global-set-key [f8] 'bury-buffer )
(add-hook 'python-mode-hook 'my-python-mode-hook)
I think these only work with GNU emacs though (not Lucid emacs).
Stuart
More information about the Python-list
mailing list