plexus / chemacs2

Emacs version switcher, improved
779 stars 47 forks source link

possible advice for straight.el users? #31

Open gcentauri opened 2 years ago

gcentauri commented 2 years ago

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.

plexus commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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.

bryce-carson commented 2 years ago

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.