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

org-ql-find not working #338

Closed
arozbiz opened this issue Mar 12, 2023 · 3 comments
Closed

org-ql-find not working #338

arozbiz opened this issue Mar 12, 2023 · 3 comments
Assignees
Labels
Milestone

Comments

@arozbiz
Copy link

arozbiz commented Mar 12, 2023

org-ql-find is not returning anything and throwing an error. E.g., in buffer with the following contents:

* TODO heading

Running org-ql-find and entering "heading" or "todo:" in the prompt returns the error Wrong type arguments: markerp, nil. Tracing with edebug, it looks like the problem is the org-ql-completing-read function, which returns nil.

@alphapapa
Copy link
Owner

Hello @arozbiz,

Thanks for reporting this problem. However, I am unable to reproduce it in a clean Emacs configuration on Emacs 28.

@alphapapa
Copy link
Owner

@arozbiz Well, I spent several hours testing it more thoroughly with the default Emacs completion, and I found some issues, including basically what you described. The "Programmed Completion" API in Emacs is very difficult. But after much wrangling, this seems to work better now. Please test with the newest commit on the master branch and let me know if it works for you now.

@alphapapa alphapapa self-assigned this Mar 12, 2023
@alphapapa alphapapa added the bug label Mar 12, 2023
@arozbiz
Copy link
Author

arozbiz commented Mar 13, 2023

It works, thanks.

@alphapapa alphapapa added this to the 0.7.1 milestone Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants