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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -