Adam Porter
ecde3a0420
Change/Fix: (src) Normalization, case-insensitivity
2022-12-09 20:19:55 -06:00
Adam Porter
6e3a5eebe7
Fix: (src) Coalesce function
2022-12-08 21:22:40 -06:00
Adam Porter
9dd1bbb10b
Merge: 0.6.3
2022-12-08 20:50:01 -06:00
Adam Porter
80b334c269
Release: v0.6.3
2022-12-08 20:45:14 -06:00
Adam Porter
2ddfb7c231
Fix: Require org-duration
...
This appears to be necessary on newer Org versions, but I don't know
exactly when.
2022-12-08 20:45:14 -06:00
Adam Porter
9f00fa3890
Fix: (org-ql--def-query-string-to-sexp-fn) Updated for peg v1.0.1
...
Fixes #314 , fixes #316 . Thanks to Akira Komamura (@akirak) and Joon
Ro (@joonro) for reporting.
Instead of `[blank]` in this PEX, it used to be `(syntax-class
whitespace)`, which worked fine with peg v1.0. Then
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59345 > was filed and
resulted in the release of peg v1.0.1, after which that no longer
worked. As best I can tell from reading the discussion, `[blank]` and
`(syntax-class whitespace)` should behave the same way, yet here they
do not: with peg v1.0.1, only `[blank]` works. Why, I do not know; I
only tried it because I could find no explanation for the broken
behavior, and luckily, it works. Maybe it's due to the use of
`(syntax-class whitespace)` later in the `pexs`; but since it finally
works again, let's take the victory as-is.
2022-12-08 20:44:24 -06:00
Adam Porter
f22fdd457b
Meta: v0.6.3-pre
2022-12-08 19:48:40 -06:00
Adam Porter
e54ba0102c
Add: (property) :inherit argument
2022-10-07 18:33:35 -05:00
Adam Porter
d7ada532c7
Add: Alias "c" to (category)
2022-08-19 03:38:43 -05:00
Adam Porter
18869c47ff
Tidy: Headers
2022-08-19 03:14:46 -05:00
Adam Porter
dc02c59cad
Add: (org-ql--ensure-buffer)
...
And use in org-ql-find. This seems to solve a problem I've been
noticing in helm-org-ql for a long time: that it can apparently
interrupt Org's initialization code, which can leave buffers
unprepared for Org, even stuck in fundamental-mode. This should also
be used in helm-org-ql...
2022-06-25 10:56:18 -05:00
Adam Porter
bbd164c6ae
Change/Fix: (org-ql-select) Warn instead of erroring on bad files
...
This helps prevent unexpected errors from making it impossible to
search, and displaying the messages in the warnings buffer makes them
more noticeable and readable for the user.
2022-06-25 10:54:38 -05:00
Ihor Radchenko
675d333b91
Use buffer-chars-modified-tick instead of buffer-modified-tick
2022-06-13 19:05:34 -05:00
Adam Porter
ede1a6b10b
Change: Don't use (setf (plist-get ...))
...
That expansion is new in Emacs 28, which we don't yet target as the
minimum version.
2022-06-11 09:19:35 -05:00
Adam Porter
1ddc505977
Change: Rename coalesce-multiple-calls to coalesce
2022-06-11 08:16:15 -05:00
Adam Porter
73ef71ced7
Comment: Add FIXME
2022-06-11 08:15:24 -05:00
Adam Porter
4f29bcfd67
Add: (rifle/smart) Predicate
2022-06-11 08:15:24 -05:00
Adam Porter
968a249ae3
Add: Query coalescing for AND clauses
...
A later commit will update and add tests.
2022-06-11 08:15:24 -05:00
Adam Porter
0057972069
Add: (org-ql-default-predicate)
2022-06-10 01:32:48 -05:00
Adam Porter
d4f2eb760e
Fix: (src) Normalization
...
Some argument combinations weren't normalized correctly and could
cause an infinite loop.
This commit doesn't update any corresponding tests, because they are
being rearranged in the WIP branch where this commit originates, and
teasing them out wouldn't be worth it.
2022-06-09 22:34:07 -05:00
Adam Porter
67506a56f8
Change: (org-ql--byte-compile-warning) More useful error message
...
e.g. if a predicate only accepts one argument, but the query gives
two, now the error will say, "PREDICATE called with 2 arguments, but
accepts only 1" (so maybe the predicate definition just needs
"&rest").
2022-05-31 12:01:42 -05:00
Adam Porter
8933f8853c
Merge: 0.6.2
2022-05-27 02:05:56 -05:00
Adam Porter
115500c8a0
Fix: (link) Save excursion around regexp search
...
Fixes #279 . Thanks to Marc Fargas (@telenieko) for reporting.
Released as 0.6.2.
2022-05-27 02:03:20 -05:00
Adam Porter
46f523d94a
Meta: 0.7-pre
2022-03-18 10:34:54 -05:00
Adam Porter
f666fe150f
Release: 0.6.1
2022-03-18 10:29:50 -05:00
Adam Porter
49b973ab11
Meta: 0.6.1-pre
2022-03-18 10:06:58 -05:00
Adam Porter
31aeb0a250
Release: 0.6
2021-09-22 01:15:26 -05:00
Adam Porter
140aa891f4
Remove: Obsolete macro org-ql
2021-09-22 01:08:54 -05:00
Jianye Ye
80970856d6
Add: Sort by (closed) for org-ql-select
2021-09-22 00:52:08 -05:00
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