Commit graph

789 commits

Author SHA1 Message Date
Akira Komamura
bd6487e814 Meta: Add Emacs 27.2 to CI 2021-06-16 19:12:08 -05:00
Adam Porter
55f5708cc0 Tests: Fix link-to-self-buffer-search test
Also, ensure that views that search non-file-backed buffers can’t be
linked to.

This fixes the test failures on Emacs 27.2 and Emacs 28
pre-release.  (I can't explain why this test didn't fail on earlier
versions, but it's not worth figuring out.)
2021-06-16 19:09:20 -05:00
Akira Komamura
1421dda20c Fix: (link) :regexp-p argument 2021-06-16 17:57:43 -05:00
Akira Komamura
410888e449 Fix: (link) :target argument 2021-06-16 17:57:41 -05:00
Adam Porter
831a21b63e Merge: 0.5.2
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.
2021-06-16 17:54:33 -05:00
Adam Porter
d3b0ef2f51 Release: 0.5.2 2021-06-16 17:45:20 -05:00
Adam Porter
eead60be8c Docs: Update changelog 2021-06-16 17:42:40 -05:00
Adam Porter
0cc4c5b549 Fix: (link) :regexp-p argument
See #220.  Thanks to Akira Komamura (@akirak).
2021-06-16 17:42:40 -05:00
Akira Komamura
e05de210c7 Fix: (link) :target argument
See #220.
2021-06-16 17:42:35 -05:00
Adam Porter
c57f0975f6 Tests: Add more LINK tests
Closes https://github.com/alphapapa/org-ql/pull/222.  See also
https://github.com/alphapapa/org-ql/pull/220.

Thanks to Akira Komamura (@akirak).
2021-06-16 17:28:00 -05:00
Adam Porter
5bba08403d Meta: 0.5.2-pre 2021-06-16 17:26:44 -05:00
Adam Porter
3c7a93d71f Merge: 0.5.1 2021-06-08 11:17:29 -05:00
Adam Porter
3a04b10738 Release: 0.5.1 2021-06-08 11:12:44 -05:00
Adam Porter
832adfee20 Merge: Fix custom sorting functions 2021-06-08 11:09:22 -05:00
Adam Porter
628fce8f13 Docs: Update changelog 2021-06-08 11:06:54 -05:00
savnkk_manjaro
dc32dcdaaa Fix: (org-ql-select) Use -sort instead of sort
Fixes #186.
2021-06-08 11:03:48 -05:00
Adam Porter
7a8e3b2e8e Tidy: Indentation
Due to changes in dash.
2021-06-08 10:56:05 -05:00
Adam Porter
105715309e Merge: Update dash dependencies 2021-06-08 10:49:37 -05:00
Adam Porter
7b701cc379 Docs: Update changelog 2021-06-08 10:48:37 -05:00
Adam Porter
5b248f3304 Meta: 0.5.1-pre 2021-06-08 10:39:09 -05:00
Mark Hudnall
21b3bd2d6a Change: Bump dash.el to fix helm-org-ql
See https://github.com/alphapapa/org-ql/issues/179.  dash.el 2.18.1
fixed an issue with `-flatten-n` that was causing `helm-org-ql`
functions to fail silently.
2021-06-08 10:21:45 -05:00
Basil L. Contovounesios
c9fe19969e Change: Don't depend on deprecated dash-functional
Dash 2.18.0 now subsumes dash-functional.

See https://github.com/magnars/dash.el/blob/master/NEWS.md#from-217-to-218
2021-02-28 15:01:03 -08:00
Adam Porter
208e103ecc Tidy: Function declarations
Using the FILEONLY argument of declare-function doesn't seem to be
enough to silence the check-declare warning, so maybe also using
"ext:" will do it.
2020-12-13 07:58:54 -06:00
Adam Porter
ec2e624dc2 Change: Bind predicates per-query instead of per-buffer 2020-12-12 06:09:49 -06:00
Adam Porter
2dfd378d5f Add/Change: (heading-regexp), (heading) predicates
Closes #64.  Closes #68.

Thanks to Feng Shu (@tumashu) for suggestions.
2020-12-09 21:28:55 -06:00
Adam Porter
31efd5a26d Comment: Add TODO 2020-12-09 21:18:10 -06:00
Adam Porter
1389ccb46b Revert: "Change: (olp, olps) Optimize multiple args with heading query"
This reverts commit 2d07cb0822.

See issue #160.  Thanks to @yantar92 for reporting.
2020-12-03 22:14:31 -06:00
Adam Porter
b62896a583 Fix: (org-ql-view.el) Declare org-ql-search function
Even though check-declare doesn't seem to find cl-defun forms, even
though its code appears to look for them...
2020-12-03 12:34:41 -06:00
Adam Porter
2d07cb0822 Change: (olp, olps) Optimize multiple args with heading query 2020-12-03 12:27:32 -06:00
Adam Porter
73209cf48e Meta: (pre-push) Only test before pushing master 2020-11-24 17:02:12 -06:00
Adam Porter
6fb8b42e3b Meta: Apply makem.sh customizations 2020-11-24 13:03:44 -06:00
Adam Porter
6ced616836 Tidy: Docstring, add comment 2020-11-24 12:45:16 -06:00
Adam Porter
5fab48e2cd Meta: Update makem.sh, etc. 2020-11-24 12:17:39 -06:00
Adam Porter
8fb6efecc1 Fix: Compile warnings 2020-11-24 11:47:42 -06:00
Adam Porter
014d49f416 Change/Fix: Require peg 1.0, fix variable binding depth errors
Had to (and needed to, anyway) use peg-1.0.  And while this does less
macro magic, and less magic with cl-eval-when, I couldn't get around
using eval.  I wish peg had a function that takes a list of rules and
returns a predicate that matches a string or at point.  (I tried to
work around the lack of that by using parts of peg macros, but it's
very complicated, and everything I tried had one problem or another.)
2020-11-24 11:20:59 -06:00
Adam Porter
890c24786a Docs: (defpred.org) Fix macro example
Thanks to Pete Kazmier (@pkazmier) for reporting (see issue #152).
2020-11-24 03:59:26 -06:00
Adam Porter
6e6f62dfaa Meta: (test.yml) Test all branches 2020-11-23 05:09:33 -06:00
Adam Porter
d4ea5df160 Docs: Update readme 2020-11-23 05:08:29 -06:00
Adam Porter
2598d558ed Tidy: (helm-org-ql) 2020-11-23 05:02:52 -06:00
Adam Porter
170276bdeb Tidy: (helm-source-org-ql-views) Rename to helm-org-ql-views-source
package-lint complains about the symbol prefix.  I guess following the
helm-source-* convention isn't a big deal.
2020-11-23 04:58:12 -06:00
Adam Porter
92d0e27340 Change: (helm-org-ql.el) Headers, requirements
Preparing for it to be a separate package.
2020-11-23 04:57:49 -06:00
Adam Porter
c3e23c3072 Docs: Mention deprecated macro 2020-11-23 04:52:01 -06:00
Adam Porter
37c6f23297 Docs: (Caching) Fix and clarify 2020-11-23 04:49:30 -06:00
Adam Porter
27609264a5 Tidy: (org-ql--defpred)
Somehow this old macro snuck back in...maybe in a merge gone bad?
2020-11-23 04:21:10 -06:00
Adam Porter
92d099caf6 Docs: (defpred.org) Add HTML export
It looks nice, even if it isn't practically viewable on GitHub.
2020-11-23 03:32:24 -06:00
Adam Porter
b01106bd0f Docs: (defpred.org) Formless, conclusion 2020-11-23 03:12:39 -06:00
Adam Porter
a06ea62521 Docs: (defpred.org) Tidy 2020-11-23 03:02:31 -06:00
Adam Porter
7c8cd41052 Docs: (defpred.org) Fix typos
Thanks to Alain M. Lafon (@munen).
2020-11-23 02:53:31 -06:00
Zen Monk Alain M. Lafon
58bf5dc0a3
Proofread defpred tutorial 2020-11-23 09:33:44 +01:00
Adam Porter
a24de862ec Fix: (org-ql-defpred) Use alist-get
Until map-2.1 can automatically be installed with makem.sh...
2020-11-23 02:03:58 -06:00