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

weird org load-path issue #495

Closed
hrehfeld opened this issue Feb 15, 2022 · 2 comments
Closed

weird org load-path issue #495

hrehfeld opened this issue Feb 15, 2022 · 2 comments

Comments

@hrehfeld
Copy link

hrehfeld commented Feb 15, 2022

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

  • system org was in load-path
  • straight org wasn't (!)

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
Copy link
Member

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
Copy link
Member

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 :)

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

No branches or pull requests

2 participants