Commit graph

816 commits

Author SHA1 Message Date
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
Adam Porter
485bbdfda8 Meta: Upgrade makem.sh, Makefile, test.yml 2020-11-23 02:03:48 -06:00
Adam Porter
a2acf93a2c Docs: (defpred.org) Fix example 2020-11-23 01:33:14 -06:00
Adam Porter
57b3eeba49 Merge: org-ql-defpred
Squashed commit of the following:

commit a0ace307b0de3f5e811f042fd9f0b821a0bbc95c
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 01:11:07 2020 -0600

    Docs: Fix TOC

commit bef9f3c9b5b762070445c76ac3c833e51dd893ba
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 01:09:33 2020 -0600

    Docs: (README.org) Add org-ql-defpred

commit ff0257696fe87764e3289e12ddc336377a9a5d01
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:52:06 2020 -0600

    Docs: Improve defpred.org

    Thanks to piyo in #emacsconf@freenode.

commit 18d6d73a99c336cd637c99309ee5d150106b73b7
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:35:24 2020 -0600

    Docs: Improve custom predicate tutorial

    Closes #155.  Thanks to Merlin Göttlinger (@mgttlinger) for suggesting
    improvements.

commit b8cbe36fb3
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:05:52 2020 -0600

    Docs: Add custom predicate tutorial

commit b1008d0c52
Author: Adam Porter <adam@alphapapa.net>
Date:   Sun Nov 22 19:34:16 2020 -0600

    Docs: Update readme

commit 73d4f95cd4
Merge: 9a2719f 148a193
Author: Adam Porter <adam@alphapapa.net>
Date:   Sun Nov 22 19:29:15 2020 -0600

    Merge branch 'wip/0.6-pre' into wip/define-predicate

...
2020-11-23 01:13:03 -06:00
Adam Porter
148a193ca0 Meta: 0.6-pre 2020-11-22 19:06:16 -06:00
Adam Porter
3924b023e0 Release: 0.5 2020-11-22 18:19:02 -06:00
Adam Porter
90f712aba9 Change: (org-ql) Declare macro obsolete 2020-11-22 18:15:39 -06:00
Adam Porter
56a08208e5 Change: (defgroup org-ql) Add Info manual link 2020-11-22 17:31:15 -06:00
Adam Porter
7f8328a87c Change: (-view--link-follow) Ignore second argument
Hopefully this allows compatibility with Org 9.4, since Org's news
file doesn't say what the second argument is.
2020-11-22 17:25:59 -06:00
Adam Porter
c41cd4be82 Change: (-view--link-open, -view--link-follow) Rename function
For consistency with Org's naming scheme.
2020-11-22 17:25:04 -06:00
Adam Porter
46ad26f1a0 Change: Require org-super-agenda 1.2
Which includes the safety checks we use for links.
2020-11-22 17:20:12 -06:00
Adam Porter
2aa8e84fc9 Fix: peg-related compiler warnings 2020-11-22 17:09:36 -06:00
Adam Porter
6bb2db9392 Docs: Improve query explanation
See #92.
2020-11-20 08:22:41 -06:00
Adam Porter
e4fb1cce2e Docs: Explain how caching works
Fixes #132.  Thanks to Mikhail Skorzhinskii (@mskorzhinskiy) for
suggesting.
2020-11-20 08:13:15 -06:00
Adam Porter
f8a531f2be Merge: 0.4.9 2020-11-20 08:01:24 -06:00
Adam Porter
cd819c1e84 Release: 0.4.9 2020-11-20 07:55:55 -06:00
Adam Porter
038c5ae3bf Update changelog, version headers
Released as 0.4.9.
2020-11-20 07:54:44 -06:00
Ihor Radchenko
0f5cf5eff3 Honor restriction when it is set from inside agenda dispatcher 2020-11-20 07:43:03 -06:00
Adam Porter
1a77cb0e18 Tests: Add more sexp link tests 2020-11-18 08:15:47 -06:00
Adam Porter
e2dbeb4620 Notes: Move to meta/notes branch 2020-11-18 04:31:15 -06:00
Adam Porter
6b96c3684d Notes: Update 2020-11-18 04:16:07 -06:00
Adam Porter
dbf5dd3b0b Merge: 0.4.8 2020-11-18 04:14:01 -06:00
Adam Porter
a9c7345066 Notes: Add idea 2020-11-18 03:04:34 -06:00
Adam Porter
29090c4448 Fix: (org-ql--sort-by) Use reverse instead of nreverse
Released as 0.4.8.
2020-11-18 00:18:20 -06:00