2
您的“ python-shell-解释器”似乎不支持readline
我在Ubuntu 16.10上使用我的25.1和Python 3.5遇到了这个问题,但是我看不到任何地方都可以解决。想知道最新状态是什么。复制: > emacs -Q --eval '(setq python-shell-interpreter "python3")' 然后 M-x run-python 给 Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native’ was t and "python3" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list. Native completions have been disabled locally. 我看到了一个想法,M-x find-function python-shell-completion-native-try它将把功能从深层拉起,(/usr/local/share/emacs/25.1/lisp/progmodes/python.el.gz而最后一行应该是nil "_"))),不是nil "")))。这里的另一场谈话谈论改变inputrc 我切换到另一个用户,并且能够在没有任何警告的情况下使用“ run-python”。原来是我的readline设置。Bash 4.3添加了一个新的readline功能:.inputrc中的“ …