1. Error (use-package): winum :config: Symbol’s value as variable is void: winum-assign-functions
這是因?yàn)閣inum這個(gè)包太老了退子,升級(jí)一下這個(gè)包就好
image.png
2. 找不到ghub路徑:
Error (use-package): org-page/:catch: Cannot open load file: No such file or directory, ghub
原因:ghub包沒有成功安裝岖妄,或者被spacemacs刪除了! 重新安裝一下就好!
3. 打開.txt文本很卡
升級(jí)以后打開.txt文件很卡寂祥,看日志是報(bào):
Error in post-command-hook (flyspell-post-command-hook):
(error "Process ispell not running")
解決方案: 安裝ispell程序荐虐,同時(shí)設(shè)置ispell-program-name變量,如下:
(setq ispell-program-name "/usr/local/bin/ispell")
4. 搜索的時(shí)候出現(xiàn)perl: warning: Setting local failed.
下列命令
M-x spacemacs/helm-project-smart-do-search
執(zhí)行搜索時(shí)出現(xiàn)
perl: warning: Setting local failed.
perl: warning: Please check that your local settings:
LC_ALL = (unset),
image.png
通過查詢Emacs的文檔:https://www.gnu.org/software/emacs/manual/html_node/emacs/Environment.html
我們通過getenv命令
M-x getenv
查詢丸凭,確實(shí)沒有LC_ALL這個(gè)環(huán)境變量福扬。不過我們可以手工設(shè)置它腕铸,通過執(zhí)行
M-x setenv,然后設(shè)置一下LC_ALL這個(gè)環(huán)境變量
image.png
接下來搜索就沒問題了铛碑,但下次啟動(dòng)Emacs時(shí)還是會(huì)報(bào)同樣的問題狠裹,為了徹底解決,將下面語句加到你啟動(dòng)配置里:
(setenv "LC_ALL" "en_US.UTF-8")
我的spacemacs配置文件:
https://github.com/aborn/.spacemacs.d