在初始spacemacs
设置中,选择了完成框架(helm
或ivy
),默认情况下会安装软件包。在过去和现在,其中一个包中存在一个错误,删除了auto-completion
功能。
我的问题是:如何缩减spacemacs
中的错误包版本以便此功能返回?我知道香草emacs
存在类似的问题,但我想确保我没有错过spacemacs
中可能存在的任何细微差别。
答案 0 :(得分:1)
克隆包回购(包网址以.git
结尾):
git clone https://github.com/<user>/<package-name>.git
在bug之前签出旧版本。 检查旧提交:
cd /path/to/cloned/package
git log
结帐:
git checkout <commit hash>
将较旧的软件包版本复制到本地elpa
位置(package-directory
将在字符串中包含日期):
/bin/cp -f /path/to/cloned/package/* /path/to/.emacs.d/elpa/<package-directory>/
删除已编译的文件:
rm -f path/to/.emacs.d/elpa/<package-directory>/*.elc
打开emacs,检查是否缺少包错误:
emacs