4 ms·
Only thing I'm missing from Emacs is the ability to completely freeze all packages and configs. As soon as I feel like everything is stable and great, it decid
by kidsil 5y ago
Only thing I'm missing from Emacs is the ability to completely freeze all packages and configs.
As soon as I feel like everything is stable and great, it decides to update 180 packages while I'm trying to edit a file and destroys something in my setup.
If anyone knows a way to prevent all updates and "freeze" a version that would be excellent.
- NateEag 5y agoThat's weird. I use package.el and it only ever updates when I ask it to. The solution to this is too keep your elpa/ directory under version control. I use this hacked-up script to help me do that: https://github.com/NateEag/.emacs.d/blob/master/site-lisp/update-packages.el https://github.com/NateEag/.emacs.d/blob/master/site-lisp/up...
- jonpalmisc 5y agoYou might want to check out straight.el [0] in replacement of package.el; it can pin package versions, etc. It is used by the very popular Doom Emacs [1] to lock package versions for reproducible config reasons. [0] https://github.com/raxod502/straight.el https://github.com/raxod502/straight.el [1] https://github.com/hlissner/doom-emacs https://github.com/hlissner/doom-emacs
- seanw444 5y agoHaven't yet needed to freeze a package, but I can confirm that setting up your packages is stupid simple in Doom (Straight), and freezing them equally so.
- gnuvince 5y agoI haven't used it myself, so I cannot speak for it, but straight.el [1] has functionality to freeze the version of packages. [1] https://github.com/raxod502/straight.el https://github.com/raxod502/straight.el
- BeetleB 5y ago> Only thing I'm missing from Emacs is the ability to completely freeze all packages and configs. Weird - Emacs by default does not auto-update packages. I do it manually as needed. Are you using Vanilla Emacs or something else?
- tikhonj 5y agoI use Emacs with Nix, which parses my config for use-package declarations and installs them for me. Emacs packages are pinned the same way as anything else in Nix and, as a bonus, it can also manage non-Emacs dependencies. I wouldn't recommend Nix just for a reproducible Emacs config, but if you end up considering Nix for broader reasons, being able to use it for Emacs could be a nice bonus :)