我已经从 ipython 0.10-11.1 切换到 1.1.0
现在,将 Emacs 与新的 ipython 版本一起使用,我遇到了以下两个问题:
1) Emac 的 ipython py-shell ( C-c !
) 中的制表符完成停止为我工作。说,如果我尝试将 'pl' 完成为 'plot' 等等pl<Tab>
,我在 minibuffer 中得到的唯一东西是
Can't find completion for "pl" based on line pl
网上有很多类似的报告,但是我发现的修复都没有解决我的问题。特别是对~/.emacs/init.el
建议的补充http://www.emacswiki.org/emacs/PythonProgrammingInEmacs,在 IPython 部分只是不“做”任何事情。
2)当我在任何给定的缓冲区 foo.py 上启动 py-shell 时,该缓冲区在几个 Emacs 子窗口之一中打开,然后是所有其他子窗口,除了对应于 foo.py 和新启动的子窗口(ipython) py-shell 关闭。
这两个问题在 ipython 0.10-11.1 中都不存在。有人有想法吗?
我的 Emacs 版本:GNU Emacs 23.2.1。我的 ipython.el 版本:来自 https://github.com/ipython/ipython/tree/master/docs/emacs 的 defconst ipython-version "0.11"