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

Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode) #221

Open
jsilve24 opened this issue Dec 20, 2023 · 0 comments

Comments

@jsilve24
Copy link
Contributor

jsilve24 commented Dec 20, 2023

First off thank you for this wonderful package.

I found a bug that I think needs to be updated on link-hint side (appologies if I am wrong in this).

Brief: I have an org agenda item that contains within the headline an org link. Running link-hint-open-link runs into the following warning:

Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode)

From here: https://www.reddit.com/r/orgmode/comments/17k79vx/strange_error_in_orgagenda/
I gather this is an "annoying" change in org that it user nv-elisp makes it sound like needs to be addressed by package authors. So I am reporting this here.

From my limited investigaion I wonder if a call to org-open-at-point needs to be replaced with org-open-at-point-global?

EDIT: ya that seems to work, going to open a pull request.

Hope this helps,
Justin

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

1 participant