在emacs 23中使用软件包安装安装python模式时出错
我在scientific linux上运行emacs 23。我试图让python模式工作,但当我试图通过package install[RET]-python模式安装它时,我会收到一长串警告,首先是:在emacs 23中使用软件包安装安装python模式时出错,emacs,Emacs,我在scientific linux上运行emacs 23。我试图让python模式工作,但当我试图通过package install[RET]-python模式安装它时,我会收到一长串警告,首先是: Leaving directory `/home/umroot/.emacs.d/elpa/python-mode-20150909.2301' Compiling file /home/umroot/.emacs.d/elpa/python-mode-20150909.2301/python
Leaving directory `/home/umroot/.emacs.d/elpa/python-mode-20150909.2301'
Compiling file /home/umroot/.emacs.d/elpa/python-mode-20150909.2301/python-mode.el at Tue Sep 29 11:08:29 2015
Entering directory `/home/umroot/.emacs.d/elpa/python-mode-20150909.2301/'
python-mode.el:2315:7:Warning: variable assignment to constant
`py-block-closing-keywords-re'
以
In py-complete-initialize:
pycomplete.el:413:9:Warning: reference to free variable
`py-set-complete-keymap-p'
pycomplete.el:423:11:Warning: assignment to free variable `ac-sources'
pycomplete.el:430:32:Warning: assignment to free variable `company-backends'
pycomplete.el:434:17:Warning: reference to free variable `python-mode-map'
In end of data:
pycomplete.el:437:1:Warning: the following functions are not known to be defined: pymacs-load,
py-backward-def, py-backward-class, pycomplete-pycompletions,
pycomplete-pydocstring, pycomplete-pyhelp,
pycomplete-pysignature, pycomplete-pylocation,
pycomplete-pyparse
我不知道还有什么可能与此相关。我正在使用Anaconda for python。python-mode.el在每次提交/上传之前都要经过测试。到目前为止还没有已知的关键bug 尽管如此,我们仍将研究如何减少警告。万一 python mode.el:2315:7:警告:将变量赋值给常量
`py-block-closing-keywords-re'
例如,使用defvar而不是defconst应该可以让它消失
谢谢报道