-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1053] Handle renamed native-comp variable in Emacs 30 #1054
Conversation
Hi, when will this fix be merged into the Develop branch? |
Pardon the impatience, but I would like to second the previous comment. This PR is kind of a bottleneck in my config now. Thanks for the effort! |
Folks who are stuck behind this, you can do this before initializing (setq straight-repository-branch "rr-fix-renamed-variable") Edit to add: this is obv a temporary workaround, and as soon as this branch is deleted will probably break. But you knew that :) |
This PR solves the issue for me as well. @j0ni: your fix with setting Edit: starting without Edit: I'm on the |
@petergardfjall I guess I should have mentioned that you would need to remove your existing straight installation subdir to force it to re-clone. My apologies. |
@j0ni Interestingly, when I tried your approach on an older version of Emacs (emacs-mirror/emacs@fdac69b) just deleting However, when running on a more recent commit (on branch If I haven't completely messed up somehow it appears like the Running
|
@petergardfjall interesting. I am using locally compiled emacs 30.0.50, rebuilt every few days. Configured thusly:
I run this on three Arch Linux systems, though one has no head and I build it without an X11 toolkit. On each system it runs as a systemd user service and I use I quite often update all the straight packages, but that does not do anything to the straight build itself (I don't think). Normally that goes like this: (straight-pull-recipe-repositories)
(straight-pull-all)
(straight-rebuild-all) Every so often (or when something breaks) I delete the ELN cache and the straight subdirectory (the whole thing, with all the packages in it) and let it bootstrap again. Normally I start emacs separately using the The reason I do this is because I don't trust all the cached native code, and emacs bytecode, and straight build artifacts to be in a consistent state being as how I'm always fiddling. This guarantees the freshest of meats. That's what I ended up doing this time, fwiw - I didn't try any intermediate cleanup. Not that it should be relevant but my current emacs config is available here on sourcehut. Sorry if I sent you down a rabbit-hole! |
Thanks @j0ni worked perf for me 👍 |
I can confirm that @petergardfjall's method works with Emacs 30:
|
I unfortunately don't have enough free time to attend to PRs more often than every week or two. But you should be able to use any desired revision of |
Also worth noting that this fix won't work if you are on the "master" branch. Just set |
@raxod502 IMO, that's fine.* *esp when I run off |
Needed this fix in particular: radian-software/straight.el#1054
Closes #1053