-
Notifications
You must be signed in to change notification settings - Fork 110
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
helm-org-ql doesn't seems to obey default predicate #316
Comments
Hi Joon, Thanks for the kind words. I'm glad to hear that it's useful to you. The Line 182 in 5f70636
Here are some examples of how that converts queries: (org-ql--query-string-to-sexp "term1,term2")
;; (rifle "term1")
(org-ql--query-string-to-sexp "rifle:term1,term2")
;; (rifle "term1" "term2")
(org-ql--query-string-to-sexp "term1 term2")
;; (and (rifle "term1") (rifle "term2")) So in this case, since you're not specifying a predicate, you need not use a comma between terms. FYI, you may also find the |
Thanks for the quick reply! Hmm maybe there is something wrong with my setting, I'm definitively not getting the same results between One thing I noticed, though is that I'm getting a strange results from your And for some reason when I try to use |
@akirak thanks fro the info. Do you know the version number of peg.el that does not have the bug? I'm only seeing |
@joonro peg-1.0 should work. You can download from ELPA or from emacsmirror. |
@akirak Yes I manually installed peg-1.0 and now I'm getting consistent results between |
@joonro I found a thread in bug-gnu-emacs. Apparently, the recent change was made for a bug fix, which caused the issue in org-ql. I am not sure if this is a new bug or expected behavior (i.e. poor documentation or misinterpretation) https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-11/msg01410.html |
This should be fixed now. Please let me know if it works for you. |
Yes thank you very much, I updated peg to 1.0.1 and it is working properly. Thank you very much! |
Hi,
Thank you very much for org-ql, this quickly became my go-to search tool for my org files.
I'm mainly interested in using
helm-org-ql-agenda-files
, and this doesn't seems to obey default predicate ofrifle
. That is, I get very different results if I dorifle:term1,term2
VS.term1,term2
.The text was updated successfully, but these errors were encountered: