Published 2025-08-25
tag(s): #programming #emacs
I created yet another Emacs package, in this case it is just a few commands. With room for improvement, but since they are good enough for daily use...and I thought it was time to remove some of the vc-mode extensions from my config and "promote them" to their own little island.
The packaged is
called[1] Stubvex:
stubborn vc-mode extensions.
Why stubborn? Because, as the README says:
[...] the solution to these "problems" is just use Magit. And I did! And it is great!
But at times, I have to work on Windows, and Magit is really slow there. Then, why not Magit and deal with the slowness on Windows? Why not WSL? Why not a Linux VM?
And I have my reasons, rationalizations, explanations...but maybe a short explanation covers it all: I am being stubborn.
A few days ago I found out there's a way in vc-git-log-view-mode
to mark commits.
Then you can use the function (log-view-get-marked)
to get the list of commits
selected. I find it strange that this is not a command, that show a message but has a prefix
argument to kill the selection as text - so you can paste it in a shell o something.
Anyway, I figured I could make a bare-bones cherry-pick implementation using that and the
newish[2] Emacs command to log other branches. And then I realized my
config has already too many "custom" vc-git
commands, and I might as well put
them in a package.
So here they are: Stubvex in Source Hut.