我最近从Emacs 23升级到Emacs 24。自从升级以来,看起来我失去了调用"M-x python-shell"的能力(!)。
发生了什么事?难道包含的Python模式不再具备此功能?
使用Emacs 23:
○ /usr/local/bin/emacs -Q
Describe function: python-shell
python-shell is an interactive autoloaded Lisp function in
`python.el'.
使用 Emacs 24:
○ /Applications/Emacs.app/Contents/MacOS/Emacs -Q
Describe function: python-shell [No match]
py-shell
怎么样?这是XEmacs 21.5中的命令;或许在GNU Emacs中它的名称也已经改变了。 - celtschk(autoload 'py-shell "python-mode" "Python shell." t)
。 - dave jones(add-to-list 'package-archives ...)
之后有加入(package-initialize)
吗?似乎你需要它来加载包。 https://dev59.com/IWw05IYBdhLWcg3wXAqF / https://dev59.com/bXA65IYBdhLWcg3w8zft - tkf