我一直在尝试各种 stackoverflow 讨论中的很多提示和技巧以及更多,但我无法解决这个问题,请帮助:
什么在我的 bash shell 中有效:
我有这个 python 脚本:
a = [44, 22]
import ipdb
ipdb.set_trace()
当我运行它时,我得到了预期的 ipdb 提示,当我输入“a.TAB”时,一些自动完成功能会建议所有这样的功能:
ipdb> a.
a.append a.count a.extend a.index a.insert a.pop a.remove a.reverse a.sort
什么在我的 EMACS shell 中不起作用:
当我做同样的事情,但随后在 emacs shell 中时,选项卡完成不起作用。我指的是 TAB 和 M-TAB。在这种情况下,Emacs 告诉我“不匹配”。顺便说一句:当我编辑 python 文件时,M-TAB确实完成了。这整件事对我来说有点令人讨厌(这是一个轻描淡写的说法)。
我已经安装了许多建议的软件包:
auto-complete 1.5.0 installed Auto Completion for GNU Emacs
company 0.8.11 installed Modular text completion framework
concurrent 0.3.2 installed Concurrent utility functions for emacs lisp
ctable 0.1.2 installed Table component for Emacs Lisp
deferred 0.3.2 installed Simple asynchronous functions for emacs lisp
elpy 1.7.0 installed Emacs Python Development Environment
epc 0.1.1 installed A RPC stack for the Emacs Lisp
find-file-in-pr... 3.3 installed Find files in a project quickly.
highlight-inden... 0.5.0 installed Function for highlighting indentation
jedi 0.1.2 installed Python auto-completion for Emacs
popup 0.5.2 installed Visual Popup User Interface
python-environment 0.0.1 installed virtualenv API for Emacs Lisp
pyvenv 1.6 installed Python virtual environment interface
yasnippet 0.9.0.1 installed Yet another snippet extension for Emacs.
顺便说一句:此设置中没有选项 Mx RET jedi:install-server。
我的环境:
ubuntu 14.04 LTS
emacs 24.3.1
我也尝试过:
我还尝试(也没有工作)使用安装软件包的不稳定 melpa 源( http://melpa.milkbox.net/packages ):
auto-complete 20150218.819 installed Auto Completion for GNU Emacs
company 20150224.... installed Modular text completion framework
concurrent 20150205.616 installed Concurrent utility functions for emacs lisp
ctable 20140304.... installed Table component for Emacs Lisp
deferred 20150205.616 installed Simple asynchronous functions for emacs lisp
elpy 20150206.... installed Emacs Python Development Environment
epc 20140609.... installed A RPC stack for the Emacs Lisp
find-file-in-pr... 20141214.... installed Find files in a project quickly.
highlight-inden... 20150122.44 installed Minor modes for highlighting indentation
jedi 20150217.... installed Python auto-completion for Emacs
popup 20150116.... installed Visual Popup User Interface
python-environment 20140321.... installed virtualenv API for Emacs Lisp
pyvenv 20150218.... installed Python virtual environment interface
yasnippet 20150212.240 installed Yet another snippet extension for Emacs.
顺便说一句:此设置中提供了Mx RET jedi :install-server 选项。
有任何想法吗 ... ?