emacs and python-mode: typical key bindings don't do anything? -
i getting close nice emacs environment, based off of this baseline. however, many of python-emacs tutorials mention things "c-c c-c
run in python shell", or "c-c !
" launch python shell". reason not getting functionality. getting c-c c-c undefined
. work m-x run-python
.
why not getting standard behavior? running emacs through cygwin, has both python , ipython installed.
your sample init.el
uses different python mode tutorials read.
python-mode.el (line 3147/3152) defines:
(define-key map [(control c)(control c)] 'py-execute-buffer) (define-key map [(control c)(!)] 'py-shell)
but not define run-python
, instead defined in python.el, distributed emacs since version 24.3. , set default python mode in referenced init.el
.
see emacswiki: programming python mode dot el setup instructions python-mode.el.
Comments
Post a Comment