Replies: 1 comment 2 replies
-
I mean, you can always fork Emacs core or an installed package. You have just have to maintain a lot more dedication, since you'd have to recompile Emacs core and/or switch package managers so that your packages can be manipulated with Git and/or keep a manual list of all the patches you applied and ensure you re-apply them every time you upgrade something or switch machines.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have thought of only these (are there more?):
(eval `(el-patch-defun ,@(my-dynamic-computation)))
requires user-intervention in (far?) fewer situations as it is resillient to e.g. most refactors where a patched definition is moved to another file
has lower barrier to entry for most users
N.b. the el-patch use-case of just validating that a definition form is as you expect (i.e. without any modifications e.g.
el-patch-add
) can be done withgit apply --check
(with a patch that modifies all lines you want to check).Maybe a discussion about this should be in the
README.md
;git apply
offers an advantage in that it can be used with a much larger variety of software; helping users factor that in when considering usingel-patch
may be a net positive.Beta Was this translation helpful? Give feedback.
All reactions