Commit graph

120 commits

Author SHA1 Message Date
Adam Porter
0a69207759 Add: (org-ql-search) Offer global groups 2019-08-13 22:35:51 -05:00
Adam Porter
62fbd6123c Add: (org-ql-agenda, org-ql-search) :title argument 2019-08-13 19:43:17 -05:00
Adam Porter
a5b06dc1bf Docs: Add installation instructions 2019-08-13 17:36:12 -05:00
Adam Porter
6b9b985c1e Change: Use ts for all timestamp-related selectors
This is much simpler, and it seems quite fast with the preambles.
2019-08-13 17:06:39 -05:00
Adam Porter
9f8101779c Change: (ts) Accept ts structs 2019-08-13 16:08:10 -05:00
Adam Porter
3856e61800 Fix: (org-ql-select) Don't search hidden/special buffers 2019-08-13 15:05:47 -05:00
Adam Porter
b634647e46 Fix: (org-ql--select) Don't search buffers without headings
Especially important when using org-ql-search to search "all" Org
buffers.
2019-08-13 14:37:27 -05:00
Adam Porter
76debff1c5 Add: Selectors (children) and (descendants) 2019-08-13 14:20:21 -05:00
Adam Porter
515b4960c4 Change: (todo) Don't match done tasks 2019-08-13 14:02:12 -05:00
Adam Porter
e97d2c0af3 Add: org-ql-agenda-face 2019-08-12 20:45:44 -05:00
Adam Porter
4954789ca5 Add/Change: Use ts.el, add ts-a and ts-i
Improves performance, reduces code, and more test cases added.
2019-08-11 16:39:36 -05:00
Adam Porter
c615fbd73f Docs: -query args 2019-08-10 10:21:37 -05:00
Adam Porter
6abb2ae8c0 Docs: Improve examples 2019-08-10 10:18:29 -05:00
Adam Porter
ab0df68aae Add: (org-ql-query) narrow, order-by 2019-08-10 10:18:03 -05:00
Adam Porter
867bf4edcc Docs: Add note about (property) inheritance 2019-08-09 17:12:27 -05:00
Adam Porter
7829238988 Add: (org-ql-agenda--agenda) Optionally specify entries directly
Should probably refactor this a bit more, but this is useful now.
2019-08-08 15:51:51 -05:00
Adam Porter
43545482a4 Docs: Add example 2019-08-08 15:51:51 -05:00
Adam Porter
bd56652c66 Add: org-ql-block
Usable as an Org Agenda custom command block type.  Inspired by
@pestctrl's custom config:

84c557982a/config-org-new.org (my-own-agenda-renderer)
2019-08-08 15:51:51 -05:00
Adam Porter
d37f7c3eea Fix: (org-ql-agenda--agenda) Don't overwrite org-agenda-mode-map 2019-08-08 09:32:02 -05:00
Adam Porter
3a9b32002e Docs: Clarify changelog entries 2019-07-26 16:39:27 -05:00
Adam Porter
70176d9c5f Add: Convert bare strings to (regexp) predicates 2019-07-26 16:38:54 -05:00
Adam Porter
7c4297b667 Add/Change: (org-ql-select, org-ql-query) Add/rename function
Also improve docstrings.
2019-07-26 16:38:53 -05:00
Adam Porter
c19cc4d6d2 Docs: (README.org) Remove Predicates from ToC 2019-07-23 23:55:49 -05:00
Adam Porter
bdf473356d Change: Improve level predicate
Now accepts e.g. (level 2 4) to match headings from levels 2-4,
inclusive.

Also add tests for (level) preamble conversion.
2019-07-23 23:55:49 -05:00
Adam Porter
797798bd08 Change: (org-ql-query) Accept comparator function to :sort 2019-07-21 17:21:48 -05:00
Adam Porter
88ba3d3933 Docs: (org-ql) Improve docstring 2019-07-21 17:21:17 -05:00
Adam Porter
b1b04b3f19 Docs: Add badges 2019-07-20 17:42:56 -05:00
Adam Porter
25f964dfcb Fix: (--date-type-p) Handle ranges
I meant to do this in c5599a6, but I omitted the range type symbol
when I rewrote the selector and functions.  This should work now.

Thanks to @codygman, @swflint, and @vikasrawal.
2019-07-17 12:08:58 -05:00
Daniel Kraus
adcb96cb1e Fix: Compatibility with org>=9.2
The API for `org-get-tags-at` and `org-timestamp--to-internal-time`
changed in org-mode version 9.2.

Thanks to Ataias Pereira Reis (@ataias) and Daniel Kraus (@dakra).

Closes #27.  Closes #31.
2019-07-16 13:29:13 -05:00
Adam Porter
6a968d212f Docs: Update first paragraph 2019-07-16 13:05:16 -05:00
Adam Porter
3933db460b Add: Query preambles
Notes: Mark preambles as done

Docs: Add changelog entry
2019-07-16 12:49:09 -05:00
Adam Porter
7dcdc21ea1 Change: (regexp) Accept multiple regexps 2019-07-16 12:38:58 -05:00
Adam Porter
7068322757 Meta: Update version 2019-07-16 12:38:04 -05:00
Adam Porter
eb281fe345 Release: 0.1 2019-07-16 12:03:09 -05:00
Adam Porter
0aec8ec603 Add: Search buffer refreshing, header line, etc. 2019-06-10 19:13:08 -05:00
Adam Porter
a74520c223 Docs: (deadline) Mention org-deadline-warning-days 2019-06-10 16:49:06 -05:00
Adam Porter
ab77cc1cb0 Docs: Silence code block 2019-06-10 16:48:51 -05:00
Adam Porter
943bb6d6c0 Add: (ts) predicates, improved tests 2019-06-09 03:13:42 -05:00
Adam Porter
3a10fe593d Docs: Fix argument name 2019-06-09 00:09:32 -05:00
Adam Porter
4174dbad84 Tidy: Docstring 2019-06-09 00:08:26 -05:00
Adam Porter
f930cd40b5 Docs: Tidy 2019-06-09 00:05:26 -05:00
Adam Porter
3a036c3efb Fix: Predicate args in documentation 2019-06-09 00:03:32 -05:00
Adam Porter
974acb0f43 Docs: Reorganize 2019-06-08 21:51:59 -05:00
Adam Porter
f6d58fcf70 Docs: Update, etc. 2019-06-08 21:25:41 -05:00
Adam Porter
a1b64f9eec Docs: Tidy 2019-06-08 05:00:20 -05:00
Adam Porter
8ee5c2d131 Docs: Add ToC 2019-06-08 04:52:40 -05:00
Adam Porter
13d3c1c4d9 Docs: Queries, etc. 2019-06-08 04:45:52 -05:00
Adam Porter
2722d87460 Tidy: Docstrings, symbol names 2019-06-08 04:30:52 -05:00
Adam Porter
4d186d7054 Docs: org-ql, org-ql-query
Also rename org-ql--query to org-ql-query.
2019-06-08 04:24:50 -05:00
Adam Porter
fc5647aea3 Change: Define predicates with macro, generate docs 2019-06-08 04:16:58 -05:00