简体   繁体   English

是否可以降级随ELPA安装的软件包?

[英]Is it possible to downgrade packages installed with ELPA?

I updated today my packages in emacs with ELPA and after the update I'm stuck with the 我今天用ELPA在emacs中更新了我的软件包,更新后我被困在

Variable binding depth exceeds max-specpdl-size 可变的绑定深度超过了max-specpdl-size

error. 错误。 Since it is not easy to debug, is it possible to downgrade the packages that were updated? 由于调试起来不容易,是否可以降级已更新的软件包? Where can I find an ELPA log where I can get the previous version of these packages? 在哪里可以找到这些软件包的先前版本的ELPA日志?

I second @lawlist's recommendation to (setq debug-on-error t) early in your ~/.emacs file. 我将@lawlist的建议放在您的~/.emacs文件的开头(setq debug-on-error t) You can also use emacs --debug-init to get a similar result. 您也可以使用emacs --debug-init获得类似的结果。 This said, sometimes the kind of error you get here can also prevent the debugger from showing up. 这就是说,有时您在这里遇到的那种错误也可能阻止调试器出现。 I recommend you Mx report-emacs-bug and describe the problem, along with any additional info you find, including the solution you found, if any. 我建议您Mx report-emacs-bug并描述问题,以及发现的所有其他信息,包括找到的解决方案(如果有)。

As for downgrading a package, it's technically possible, but there is no UI support for it. 至于降级包,从技术上讲是可行的,但是没有UI支持。 And there's no log of package installs either. 而且也没有软件包安装的日志。 Please do mention this in the bug-report as well, since it's indeed a good idea to try and keep track of those things. 请在错误报告中也提及这一点,因为尝试跟踪这些事情确实是一个好主意。

Sorry. 抱歉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM