Adam Porter
26c58c6c77
WIP
2021-06-18 23:55:42 -05:00
Adam Porter
a24b41d7e5
WIP
2021-06-18 22:27:43 -05:00
Adam Porter
71857f9b43
WIP: (ts :with-time) and supporting changes
2021-06-18 22:27:18 -05:00
Adam Porter
f87be23954
WIP
2021-06-17 20:10:18 -05:00
Adam Porter
d8bfa2317a
Add: (effort) predicate
...
Closes #80 .
2021-06-16 20:44:00 -05:00
Adam Porter
0dc073ffac
Comment: Add TODO
2021-06-16 20:01:24 -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
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
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
7a8e3b2e8e
Tidy: Indentation
...
Due to changes in dash.
2021-06-08 10:56:05 -05: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
8fb6efecc1
Fix: Compile warnings
2020-11-24 11:47:42 -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
90f712aba9
Change: (org-ql) Declare macro obsolete
2020-11-22 18:15:39 -06:00
Adam Porter
1a77cb0e18
Tests: Add more sexp link tests
2020-11-18 08:15:47 -06:00
Adam Porter
a02514c0dc
Tests: Test dynamic block sexp query warning
2020-11-17 00:24:26 -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
badf214db7
Tests: Adjust error message for Org 9.3 and/or Emacs 27.1
...
I don't know if this is due to the Org 9.3 link change or if something
print/read-related changed in Emacs 27.1, but this should fix the
test, hopefully on both versions.
2020-11-16 05:06:55 -06:00
Adam Porter
9396385fed
Tests: Add a couple of asserts
...
Not absolutely needed now, but they might help in the future if
something changes again.
2020-11-16 04:49:28 -06:00
Adam Porter
12b3b426b5
Tests: Call org-store-link interactively
2020-11-16 04:49:20 -06:00
Adam Porter
faaa6f7ee9
Test: Tidy
...
This prevents extra output about buffers without headings.
2020-11-16 03:49:15 -06:00
Adam Porter
e9815f39a0
Tests: Fix link-opening test
2020-11-16 03:16:40 -06:00
Adam Porter
e39fb1be5a
Tests: Tidy
2020-11-16 02:11:38 -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
b90e6e25d0
Tests: Use test buffer for link safety tests
2020-11-13 02:42:52 -06:00
Adam Porter
337bfa6695
Add: (tags-regexp, tags*) Predicate
2020-11-12 04:09:57 -06:00
Adam Porter
5e790c48ac
Tests: Add tests for link safety
2020-11-12 00:22:45 -06:00
Adam Porter
4b557857d3
Tidy: Indentation
2020-11-11 19:52:46 -06:00
Adam Porter
e15cc3eb76
Add: (--query-sexp-to-string)
2020-11-11 19:52:24 -06:00
Adam Porter
c847afe0b5
Merge: 0.4.5
2020-05-01 06:31:45 -05:00
Adam Porter
5a031bf5c1
Fix: (org-ql--select) Bind case-fold-search only around preamble
...
Fixes #114 . Thanks to @bitclick for reporting.
Released as 0.4.5.
2020-05-01 06:27:30 -05:00
Adam Porter
9b2ff276a0
Tests: Tidy
2020-02-24 01:48:09 -06:00
Adam Porter
9a56141f6c
Add: (link) predicate
2020-02-24 01:47:02 -06:00
Adam Porter
32c68d7f24
Fix: (--pre-process-query) level predicate with args in plain query
...
Fixes #96 . Thanks to Akira Komamura (@akirak) for reporting.
Released as 0.4.1.
2020-02-23 23:22:11 -06:00
Adam Porter
e48cdf7143
Tests: Add ancestor/parent tests
2020-01-22 23:33:16 -06:00
Adam Porter
fc536cafd6
Tests: (org-ql-test-show-result) Fix symbol
2020-01-13 20:24:14 -06:00
Adam Porter
16cb6cef52
Tests: Declare variable
2020-01-08 13:05:50 -06:00
Adam Porter
9f5bbeb3f2
Fix: Inherit org-file-tags
...
Fixes #55 . Closes #57 .
Thanks to Mikhail Skorzhinskiy (@mskorzhinskiy).
2020-01-08 10:58:55 -06:00
Adam Porter
dadbbe4a87
Tests: Allow using other data file
2020-01-08 09:26:55 -06:00
Adam Porter
2a7440b639
Tests: Move non-test-data to notes.org
2020-01-08 09:00:24 -06:00
Adam Porter
d2f7b06f3d
Tests: Rename symbols, fix loading test data interactively
2020-01-08 06:48:11 -06:00
Adam Porter
997765f9ea
Tidy: Comment out unused form
...
Removes a linter warning for now.
2020-01-03 07:02:06 -06:00
Adam Porter
a513f25b4a
Tests: Declare buttercup dependency
...
Used in makem.sh to parse test dependencies.
2019-12-31 21:13:50 -06:00
Adam Porter
091a732a88
Fix: (--value-at) On cache miss, return nil when function does
...
Previously, on a cache miss, if FN returned nil, the sentinel would be
returned instead of nil.
Closes #78 . Thanks to Josh Moller-Mara (@mm--) for reporting.
2019-12-21 16:28:51 -06:00
Adam Porter
a1851ed0eb
Fix: (--value-at) Clear value cache when buffer changes
...
Fixes #59 . Thanks to Daniel Hubmann (@hubisan) for reporting.
2019-11-24 05:43:21 -06:00
Adam Porter
7d321630a0
Test: Add test for negated, plain quoted phrase
...
0.3.2 doesn't have negation, and this should be tested with negation.
2019-10-19 02:04:04 -05:00
Adam Porter
d5c26b7f60
Merge: 0.3.2
2019-10-19 02:01:13 -05:00
Adam Porter
7a4a41e402
Fix: Quoted phrase plain-string queries
2019-10-19 01:55:33 -05:00
Adam Porter
949a06c3ab
Add: Negation in plain queries
2019-10-09 19:05:11 -05:00
Adam Porter
37ba30c969
Add: src predicate
2019-10-09 14:23:29 -05:00