每次启动都会提示An error occurred while post-configuring company in layer zilongshanren-programming (error: (void-function space\ macs|add-company-backends))

spacemacs

#1

An error occurred while post-configuring company in layer zilongshanren-programming (error: (void-function space
macs|add-company-backends))


#2

看起来像是 macs|add-company-backends 函数没有定义,或者定义的时间有点晚,可以尝试把相关配置暂时挪到 init.el 的 user-config 函数中


#3

刚把spacemacs切换成develop分支,重新启动打印出log是:


Error (use-package): lsp-python-ms/:catch: Loading file /data/data/com.termux/files/home/.emacs.d/elpa/develop/p\
ython-0.26.1/python.elc failed to provide feature ‘python’                                                       
Warning (initialization): An error occurred while loading ‘/data/data/com.termux/files/home/.emacs.d/init.el’:   
                                                                                                                 
Symbol's value as variable is void: ivy-occur-grep-mode-map                                                      
                                                                                                                 
To ensure normal operation, you should investigate and remove the                                                
cause of the error in your initialization file.  Start Emacs with                                                
the ‘--debug-init’ option to view a complete error backtrace.    


#4

获取最新代码,在mac端没有这个问题,在android端 termux上更新,还是存在这个问题。