I updated today my packages in emacs with ELPA and after the update I'm stuck with the
Variable binding depth exceeds 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?
But, how to upgrade packages installed by ELPA in Emacs? and it will automatically refresh the archive contents. Then, press U to mark all upgradable packages to be upgraded. Last, press x to perform the new updates. Emacs will then download and install all upgradable packages.
Using Snap Store in Ubuntu, you can also downgrade any package. For that first, you need to install the Snap Store in your Linux system. You can install the Snap Store either from the Linux software store, or you can use the following terminal commands to install.
To downgrade a package on Arch-based distros using downgrade, issue the following command: The output will list all the package versions available to install. Choose from the options and enter the number corresponding to the package version to continue the installation of the older package.
You can verify if APT successfully downgraded the package using the --version flag: If the output displays a version number older than the latest release, the package was successfully downgraded and you can continue using it as usual. On Arch Linux, you can switch to an older version of a package installed earlier using the saved Pacman cache.
I second @lawlist's recommendation to (setq debug-on-error t)
early in your ~/.emacs
file. You can also use emacs --debug-init
to get a similar result. This said, sometimes the kind of error you get here can also prevent the debugger from showing up. I recommend you M-x report-emacs-bug
and describe the problem, along with any additional info you find, including the solution you found, if any.
As for downgrading a package, it's technically possible, but there is no UI support for it. 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With