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

Fix bugs with the link predicate #220

Closed
wants to merge 2 commits into from

Conversation

akirak
Copy link
Contributor

@akirak akirak commented Jun 13, 2021

Hello, I found some bugs in :link predicate while I was working on my own package. Below are the issues, which are fixed in this PR:

  • :target does not work, and org-ql returns an unfiltered result, i.e. all entries containing a link.
  • When you set :regexp-p to t and pass a regular expression as an argument, org-ql returns an empty result.

@akirak akirak changed the title Fix bugs in the link predicate Fix bugs with the link predicate Jun 13, 2021
@alphapapa alphapapa added this to the 0.5.2 milestone Jun 16, 2021
@alphapapa alphapapa added the bug label Jun 16, 2021
@alphapapa
Copy link
Owner

Thanks, Akira. I'll start with the tests, then look toward merging the fixes.

@alphapapa alphapapa self-assigned this Jun 16, 2021
@alphapapa alphapapa force-pushed the fix/link-pred-bugs branch from e11045e to 6422f84 Compare June 16, 2021 22:20
alphapapa added a commit that referenced this pull request Jun 16, 2021
Closes #222.  See also
#220.

Thanks to Akira Komamura (@akirak).
alphapapa pushed a commit that referenced this pull request Jun 16, 2021
alphapapa added a commit that referenced this pull request Jun 16, 2021
See #220.  Thanks to Akira Komamura (@akirak).
@alphapapa alphapapa force-pushed the fix/link-pred-bugs branch from 6422f84 to 18dbb98 Compare June 16, 2021 22:57
alphapapa added a commit that referenced this pull request Jun 16, 2021
NOTE: Due to changes between 0.5 and 0.6, the fixes don't merge
cleanly, so they will be applied in subsequent commits.  See #220.
@alphapapa
Copy link
Owner

I think that should do it. Thanks very much for catching this, Akira! Please let me know if you find any more issues.

@alphapapa alphapapa closed this Jun 16, 2021
US-Thakur pushed a commit to US-Thakur/merge_testing that referenced this pull request Mar 14, 2022
Closes alphapapa/org-ql#222.  See also
alphapapa/org-ql#220.

Thanks to Akira Komamura (@akirak).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants