Skip to content
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

possible advice for straight.el users? #31

Open
gcentauri opened this issue Dec 24, 2021 · 4 comments
Open

possible advice for straight.el users? #31

gcentauri opened this issue Dec 24, 2021 · 4 comments

Comments

@gcentauri
Copy link

Apologies for not having enough time to make a proper report. I've used Chemacs in the past successfully and wanted to try rolling up a new config today after spending over a year with one I've been chipping away at. So I installed Chemacs 2 and tried restarting, only to get a few issues with my straight.el + org based config.

I began running into what appeared to be path issues. all-the-icons failed to find ./data/something-or-other and then straight could not seem to even find git to execute properly.

It smelled of issues with the byte-compiled files, so i just razed the build directory for the straight packages and restarted which had straight rebuild / recompile everything.

Now it appears to work fine, but perhaps this may be useful to notate in the readme for users adopting an existing config. it may be unrelated to straight, and simply something about byte compiled files and paths getting moved that i'm unaware of.

thanks for the work on chemacs btw! its been quite handy in a few different scenarios over the years.

@gcentauri gcentauri changed the title possible advice for straight users? possible advice for straight.el users? Dec 28, 2021
@plexus
Copy link
Owner

plexus commented Dec 30, 2021

Hi @gcentauri , doc improvements are always welcome. I'm a long time straight user and haven't had any issues, but I've never migrated a non-chemacs straight setup to chemacs I think. Ideally we would have an explanation of what exactly the issue is, but in the meanwhile a warning that "you may need to let straight rebuild its repos/packages after migrating to chemacs2" could already be useful.

@gcentauri
Copy link
Author

@plexus thanks! i'll see if i can recreate the issue. it may even be unrelated to straight itself. the oddest thing was when i tried to have straight rebuild all the packages itself, it was unable to execute git. i'll pull this repo and hope to get some time over the long weekend to help contribute :)

@sobafuchs
Copy link
Contributor

I can confirm the same issue. I just razed the entire straight directory because im lazy and my init.el file will recreate it everything anyway a la https://github.com/raxod502/straight.el#getting-started. Happy to create a PR to document this.

sobafuchs added a commit to sobafuchs/chemacs2 that referenced this issue Feb 19, 2022
Users who switch to chemacs from a non-chemacs configuration might
encounter plexus#31. This does not constitute a long-term fix but this might
help users in the meantime until further debugging is done.
@bryce-carson
Copy link

I was not able to reproduce the issue, and I did not see any difference in the relevant part of the byte compiled form of all-the-icons.el.

⚠️ In my switch to using Chemacs2 tonight I have done a lot of hopping around and other debugging, so I may be totally wrong and Straight may not be behaving as normal. Don't trust me, please. 🖌️ Happy little accidents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants