Cyrille Froehlich
bbeee64f41
Simplify tags-all/tags-local too + Fix formatting
2021-07-28 08:39:22 +09:00
Cyrille Froehlich
99a2285317
Simplify tags-inherited normalizer
2021-07-28 08:35:13 +09:00
Cyrille Froehlich
363f7623c1
Fix: pcase pattern shadowed
2021-07-28 08:35:13 +09:00
Adam Porter
94f9e6f303
Add/Change: reverse sorter, and reverse sorting order
...
This is a breaking change of sorts in that searches using multiple
sorting methods will have to have the order of the sorters reversed to
get the same result. Unfortunate, but I think it's worth it in the
end, and this is pre-1.0, anyway.
Fixes #143 .
2021-07-12 21:33:24 -05:00
Ihor Radchenko
8342656b2d
Fix: (org-ql-regexp-part-ts-repeaters) Habit repeaters with min/max
...
Closes #226 .
2021-06-24 08:14:39 -05:00
Ihor Radchenko
1198284c7e
Fix: (org-ql-regexp-part-ts-repeaters) Repeaters with a "."
...
Fixes #225 .
2021-06-23 01:26:10 -05:00
Adam Porter
e03fb24f9b
Fix: (outline-path) Normalizer infinite loop
...
Hopefully there aren't more of these lurking, but with the recent
--normalize-query change, there might be...
2021-06-21 07:55:58 -05:00
Adam Porter
482a5c939b
Fix: Cache invalidation of relative-date ts-related predicates
...
Fixes #223 . Thanks to Ihor Radchenko (@yantar92) for reporting.
2021-06-21 06:18:03 -05:00
Adam Porter
87b3d0bd97
Add: :with-time argument for timestamp predicates
...
Squashed commit of the following:
commit 5d43309c55
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Jun 19 02:24:08 2021 -0500
WIP: Allow "with-time=" in string queries
commit 9e683e17c1
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Jun 19 02:09:42 2021 -0500
WIP: Update docstrings, comments, and readme
commit 8e93f4cbb3
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Jun 19 00:18:21 2021 -0500
WIP: Tidy
commit 26c58c6c77
Author: Adam Porter <adam@alphapapa.net>
Date: Fri Jun 18 23:55:42 2021 -0500
WIP
commit a24b41d7e5
Author: Adam Porter <adam@alphapapa.net>
Date: Fri Jun 18 22:27:43 2021 -0500
WIP
commit 71857f9b43
Author: Adam Porter <adam@alphapapa.net>
Date: Fri Jun 18 00:05:53 2021 -0500
WIP: (ts :with-time) and supporting changes
commit 745e53b313
Author: Adam Porter <adam@alphapapa.net>
Date: Thu Jun 17 22:54:51 2021 -0500
Add: New timestamp regexps
commit f87be23954
Author: Adam Porter <adam@alphapapa.net>
Date: Thu Jun 17 20:03:02 2021 -0500
WIP
commit e893e65207
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Dec 19 03:54:11 2020 -0600
WIP: Add with-time arg to timestamp predicates
2021-06-19 03:28:14 -05:00
Adam Porter
d8bfa2317a
Add: (effort) predicate
...
Closes #80 .
2021-06-16 20:44:00 -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
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
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
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
2d07cb0822
Change: (olp, olps) Optimize multiple args with heading query
2020-12-03 12:27:32 -06:00
Adam Porter
6ced616836
Tidy: Docstring, add comment
2020-11-24 12:45:16 -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
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
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
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
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
dbf5dd3b0b
Merge: 0.4.8
2020-11-18 04:14:01 -06:00
Adam Porter
6618318622
Update readme, version header
2020-11-18 00:03:41 -06:00
Imran Khan
d500d28af5
Change nreverse to non-destructive version
2020-11-17 23:58:20 -06:00
Adam Porter
71703def04
Change: Query safety checks
...
- Variable org-ql-ask-unsafe-queries replaces
org-ql-view-ask-unsafe-links.
- New function: org-ql--ask-unsafe-query.
- Tests: Improve
2020-11-16 23:52:15 -06:00
Adam Porter
9d86ee9e10
Change/Fix: Bookmark, link storing/loading/safety
...
This makes several changes and fixes and adds test cases for all the
combinations I'm aware of.
See #147 . Thanks to @tpeacock19 for patiently reporting these issues.
Squashed commit of the following:
commit d1b396c5654ae3fa8ad03d0d4b2cbde20000fa1a
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Nov 16 02:01:23 2020 -0600
WIP: Fixes
commit 23215a723c4bf6e249c330863e01029166db56c3
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Nov 16 01:34:34 2020 -0600
WIP: Fixes
commit 97b13d09d4d52bb168bfc19fb6f8daf2964f4b6c
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Nov 16 00:46:49 2020 -0600
WIP: Test links too
Everything passes now.
commit 1866a71dbbb6416f7e365c90cadd269765d52b70
Author: Adam Porter <adam@alphapapa.net>
Date: Sun Nov 15 22:22:22 2020 -0600
WIP: Test loading/saving bookmarks
2020-11-16 02:02:22 -06:00
Adam Porter
0365b785cc
Fix: (org-ql--defpred) Add to predicates variable when compiling
...
This seems to fix an occasional weird bug encountered when
byte-compiling and loading this file. I can't explain why it only
happens sometimes, but this seems to fix it, and it stands to reason
why it does, so it seems like the right thing to do.
2020-11-14 05:41:37 -06:00
Adam Porter
89ff02a150
Fix: (org-ql--query-sexp-to-string) Ancestors, etc. queries
2020-11-14 05:40:24 -06:00
Adam Porter
337bfa6695
Add: (tags-regexp, tags*) Predicate
2020-11-12 04:09:57 -06:00
Adam Porter
e15cc3eb76
Add: (--query-sexp-to-string)
2020-11-11 19:52:24 -06:00
Adam Porter
73da48d9da
Comment: Add FIXMEs
2020-11-11 00:23:32 -06:00
Adam Porter
2e469fa547
Tidy: (org-ql--peg-parse-string) Silence, Checkdoc!
2020-11-10 04:14:44 -06:00
Adam Porter
5e61d1b326
Fix: (org-ql--peg-parse-string) Unused lexical variable warning
...
peg.el doesn't use lexical binding, and org-ql.el does, so this caused
a byte-compile warning. It doesn't seem to change the behavior of the
expanded code, so it should be a safe change...
2020-11-05 11:28:22 -06:00
Adam Porter
6633dbb276
Release: 0.4.6
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAl8L0BwACgkQ5+GdyTDsrJsFVQCdGz0i4KXwrnqcQC7Ov5/b+YSH
lUEAoIJBRRJ462lJbe4nzkOkrB3VMIGF
=JOpa
-----END PGP SIGNATURE-----
Merge: 0.4.6
2020-07-12 22:09:03 -05:00
Adam Porter
0080055690
Fix: Copy macro peg-parse-string from peg-tests.el
...
Unfortunately, the macro was moved from peg.el to peg-tests.el in
later versions of peg, so we copy it for our use here.
Fixes #75 . Thanks to Karl Voit (@novoid) and @karlicoss for
reporting.
Released as 0.4.6.
2020-07-12 22:08:01 -05:00