radian-software / radian

🍉 Dotfiles that marry elegance and practicality.
MIT License
491 stars 47 forks source link

weird org load-path issue #495

Closed hrehfeld closed 2 years ago

hrehfeld commented 2 years ago

Hard to give a good report, but I just had a situation where:

org-agenda then fails due to functions being used from straight/git org files (how?!) trying to call functions from system org, after a (require 'org) I had in deep in my own config for private org settings.

Can you check if an actual (require 'org) causes problems for you as well? Is that code-path maybe never checked because radian uses straight directly to require?

Or maybe org-contrib is somehow using straight files (but this was from something in org/, not in org-contrib/), but org isn't?

I'm using relatively new git pull (a week or so old), radian is supposed to load org-contrib (not in disabled packages, and var is t), was using straight-pull-all last week.

raxod502 commented 2 years ago

Hmm, unsure what could be happening there. Org from straight.el should get added to load-path even if you've accidentally loaded the vendored version ahead of that load happening.

I've just verified that I have a clean worktree and my lockfile is up to date, so we should be using the same versions of all our packages.

Does this occur if you temporarily comment out any init.local.el? What is the value of load-path?

raxod502 commented 2 years ago

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)