Post AXkd8Z0CIdIzp6j8CW by slackline@mastodon.social
 (DIR) More posts by slackline@mastodon.social
 (DIR) Post #AXkciqmbZJJ1RM6liC by galdor@emacs.ch
       2023-07-16T11:52:41Z
       
       0 likes, 0 repeats
       
       Every Emacs package update I do through Straight breaks Magit due to missing functions from the compat package. Apparently it's a very common issue with Straight and compat, and no one really knows why. Only fix I found is to delete the whole Straight directory and start from scratch. Wonderful.I also tried to switch to Elpaca since I heard so much about it. It does not support version pinning so you cannot save the precise version of the packages you use. So back to Straight.
       
 (DIR) Post #AXkd8Z0CIdIzp6j8CW by slackline@mastodon.social
       2023-07-16T11:57:19Z
       
       0 likes, 0 repeats
       
       @galdor I've heard many people mention straight, what does it offer over use-package?Is it because it clones the source repository rather than using a bundled package? Most of my packages I tend to use packages from MELPA (unstable) so beyond being able to hack at source (which I would rarely do) are there any advantages?
       
 (DIR) Post #AXke0JC7HweiQxvhNQ by galdor@emacs.ch
       2023-07-16T12:07:03Z
       
       0 likes, 0 repeats
       
       @slackline It can source packages from repositories, useful for packages which are not provided on ELPA/MELPA (e.g. Screenshot) or when you want to use a fork.You can also freeze package versions, and version the file containing the version of every package, ensuring your Emacs environment is identical on multiple machines.
       
 (DIR) Post #AXkeJWiZEVHhsVGvoG by mhcat@kolektiva.social
       2023-07-16T12:10:28Z
       
       0 likes, 0 repeats
       
       @galdor Lately after a few years of straight, I've been using the package-vc stuff that's in 29+, plus a 3rd party :vc plugin for use-package.I'm pretty sure you can pin using that mechanism, though there is (as there always is) some controversy around what you should use it for. Or at least, that's what I see on my weekly forays into the emacs-devel archives.I've been trying out the builtin package system again, now there's a builtin workaround for non-elpa stuff. I also have a guix setup which just uses guix packages - I think that's probably a solid choice for a curated combination of packages, but I always end up wanting a backdoor that guix refuses to give me.Here's an example of the very straight-like notation:https://git.sr.ht/~mhcat/neumacs/tree/main/item/notwithstanding.org#L1555
       
 (DIR) Post #AXkf5e6769Z8fMEM9g by galdor@emacs.ch
       2023-07-16T12:19:13Z
       
       0 likes, 0 repeats
       
       @mhcat Package-vc in Emacs 29+ (that I don't use because it still is not released) should at least let people fetch from any Git repository, and I imagine you can provide a reference to pin versions, but from what I understand you will have to provide the references manually.With Straight I can update, make sure everything works, and call straight-freeze-versions before committing changes.Infortunately package management has been neglected for a very long time, and it has only been getting barely usable recently (compared to the age of Emacs).As for Guix, I love the idea but it does not run on FreeBSD…
       
 (DIR) Post #AXkg4H0lXxoujJdfCS by craigbro@emacs.ch
       2023-07-16T12:30:10Z
       
       0 likes, 0 repeats
       
       @galdor i ran into this compat issue too, but i can’t remember my fix and it only happened on my home machine and I’m in the road this weekend.  I recall doing something to update all deps of a package and not just the package.I’m using straight for the same reason, also because having ask the source and making my own branch of a package was so much easier
       
 (DIR) Post #AXkkHtfLXbvACDN6Lw by carcosa@emacs.ch
       2023-07-16T13:17:27Z
       
       0 likes, 0 repeats
       
       @galdor It's not only with straight, though. I have absolutely had just package.el updates produce non-working combinations of compat, magit, and with-editor. Seems to happen every few months, in fact.
       
 (DIR) Post #AXknfEGzOFKedAnPpA by galdor@emacs.ch
       2023-07-16T13:55:17Z
       
       0 likes, 0 repeats
       
       @carcosa Good to know.
       
 (DIR) Post #AXkxRvQT9Q5dxFWcN6 by sqrtminusone@emacs.ch
       2023-07-16T15:44:56Z
       
       0 likes, 0 repeats
       
       @galdor I've had the same issue. Had to switch the magit repo from master to main. Apparently the last commit on master used the obsolete way of calling compat function
       
 (DIR) Post #AXl2k0uvyLj1y9DfOa by grtcdr@emacs.ch
       2023-07-16T16:44:13Z
       
       0 likes, 0 repeats
       
       @galdor May I suggest Borg? You're in full control of the revisions you check out but it requires a bit more effort than the other package managers.
       
 (DIR) Post #AXlMzBvNKQxFXAwMqW by holgerschurig@emacs.ch
       2023-07-16T20:31:04Z
       
       0 likes, 0 repeats
       
       @galdor This is weird. I use Doom, which uses straight. And I'm a hefty user of magit.Never had your issue.
       
 (DIR) Post #AXmNmbQFVixVxiu0wK by galdor@emacs.ch
       2023-07-17T08:14:43Z
       
       0 likes, 0 repeats
       
       @grtcdr I'm really interested by Borg, especially since it's written by the author of Magit. But it seems I'd have to invest much more time to get it working for my needs.Maybe one day.
       
 (DIR) Post #AXmaME88moTPb9Ba4W by veer66@mstdn.io
       2023-07-17T10:35:29Z
       
       0 likes, 0 repeats
       
       @galdor I want to make a Btrfs subvolume for Emacs packages and hook Emacs package update with Snapper. 🤔
       
 (DIR) Post #AXmno7x8e861x3fpxY by grtcdr@emacs.ch
       2023-07-17T13:06:20Z
       
       0 likes, 0 repeats
       
       @galdor Yeah, for what it's worth, it was very easy to get it set up after having read through the entirety of the manual. I think the idea in abstract can sound cumbersome but maintaining a Borg-based Emacs configuration is in practice not as time consuming as the manual might have you think.