Commit graph

296 commits

Author SHA1 Message Date
Adam Porter
0b20be451f Meta: 0.3-pre 2019-09-04 05:29:52 -05:00
Adam Porter
0adc23d34d Release: 0.2 2019-08-31 23:49:26 -05:00
Akira Komamura
3a5e4a1e11 Fix: Add autoloads
Fixes #36.  Thanks to Akira Komamura (@akirak).
2019-08-31 23:43:49 -05:00
Adam Porter
932960c686 Add: Save position when refreshing search buffers 2019-08-31 23:24:36 -05:00
Adam Porter
e839397579 Fix: Planning-related predicates searched too far into entries
Planning-line-related predicates searched entire entries, which could
find lines that looked like planning lines but were not.  For example, in an
entry talking about tiny.el, in a source code block, in Elisp comments
that had text resembling an Org planning line, that text would be
found by the regexp search, and the predicate would then attempt to
parse the match, which could fail.

Now the regexp search for planning-line-related predicates is bound by
the end of the line after the heading, which is the only place that
actual Org planning lines are supposed to be.
2019-08-30 05:29:05 -05:00
Adam Porter
a99759d4d9 Add: (priority) Preambles and plain predicate style 2019-08-25 23:24:53 -05:00
Adam Porter
a52d421fd7 Add: random sorter 2019-08-25 20:14:31 -05:00
Adam Porter
f26052eb79 Fix: (org-ql-select) Properly accept arbitrary sort function
Fixes #37.  Thanks to Milan Zamazal (@mz-pdm).
2019-08-25 20:08:51 -05:00
Adam Porter
68697c38a1 Docs: (regexp) Clarify
Fixes #39.  Thanks to Milan Zamazal (@mz-pdm).
2019-08-25 19:53:30 -05:00
Adam Porter
77aa32cfe6 Docs: Update examples 2019-08-19 14:00:40 -05:00
Adam Porter
0cbb03b667 Docs: Changelog 2019-08-19 13:49:50 -05:00
Adam Porter
f8265a233d Docs: Clarify 2019-08-19 13:46:54 -05:00
Adam Porter
b4066607ec Docs: Update examples
I think that's all of them now...
2019-08-19 13:34:29 -05:00
Adam Porter
c4c861de2e Docs: Update example 2019-08-19 03:30:38 -05:00
Adam Porter
876f20a340 Docs/Notes: Move inline task to notes
GitHub renders the inline task even with :noexport:.
2019-08-19 03:30:38 -05:00
Adam Porter
ed32701772 Change/Fix: Restore today arguments to ts-related predicates
Also, DRY some code into a macro.  Much cleaner.
2019-08-19 03:30:38 -05:00
Adam Porter
8d34bc13bd Docs: s/selectors/predicates/
I tend to use both terms, but I should probably stick to one.
2019-08-19 03:30:37 -05:00
Adam Porter
49d0fa8306 Add: Timestamp selectors :on a number
This ought to be pretty thorough now.
2019-08-19 03:30:37 -05:00
Adam Porter
c2ecbc67a5 Add: org-ql-view-recent-items 2019-08-19 03:30:37 -05:00
Adam Porter
ab3d1178b9 Add: Call some ts-type predicates with a number/auto 2019-08-19 03:30:37 -05:00
Adam Porter
869ce69f1d Docs: Bindings 2019-08-16 12:43:35 -05:00
Adam Porter
be92d531ec Add: org-ql-view, org-ql-views, org-ql-search-save 2019-08-16 12:35:24 -05:00
Adam Porter
ae3ec62e3c Add: org-ql-view-map 2019-08-16 12:29:20 -05:00
Adam Porter
429c313634 Docs: Organize commands 2019-08-16 12:27:30 -05:00
Adam Porter
6aeb3030c6 Add: Customization group 2019-08-16 12:15:09 -05:00
Adam Porter
2d6a8fbe66 Docs: Fix punctuation 2019-08-14 13:10:17 -05:00
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