Adam Porter
c9ad34c47f
Merge: 0.2.2
2019-10-02 16:09:31 -05:00
Adam Porter
463d5bce79
Fix: (deadline-warning) Timestamp-local warning periods
...
When a deadline had its own warning period, it was compared with the
org-deadline-warning-days adjusted timestamp rather than the current
timestamp, which matched deadlines that should not yet be matched.
2019-10-02 15:51:53 -05:00
Adam Porter
c286ab1967
Add: (org-ql-select) Accept a function for buffers-files
2019-10-02 11:58:28 -05:00
Mikhail Skorzhinskii
086f290d0b
Add: (org-ql-view--format-element) Set org-agenda-type to search
...
Some org-agenda commands check the org-agenda-type text property to
ensure that the command is valid to run in that type of agenda.
Notably this fixes running commands org-agenda-schedule and
org-agenda-deadline.
Setting the type to "search" prohibits some of the functions that are
still not working in these buffers, like org-agenda-do-date-earlier.
Fixes #35 .
2019-09-28 00:19:34 -05:00
Adam Porter
5864c28cdb
Refactor/Add: agenda->view/search, view-sidebar
...
Squash-merging branch wip/refactor-org-ql-agenda.
Squashed commit of the following:
commit 60d73b071830ab8f0355687a1d325a4791eeb29b
Author: Adam Porter <adam@alphapapa.net>
Date: Wed Sep 18 04:30:55 2019 -0500
WIP: Tidy
commit 36f65638cdb585553c0f90ef48b3908700461014
Author: Adam Porter <adam@alphapapa.net>
Date: Wed Sep 18 04:24:45 2019 -0500
WIP: Tidy
commit f7bae3ac8c250c4e42b79157656603da91185574
Author: Adam Porter <adam@alphapapa.net>
Date: Wed Sep 18 04:10:36 2019 -0500
WIP: Tidy
commit 8791b0de3404cfff9e110969b8aa30c753319335
Author: Adam Porter <adam@alphapapa.net>
Date: Wed Sep 18 04:05:18 2019 -0500
WIP: Remove unnecessary defvars
commit 0dd8d259a31e279ad76188640f6731f8fdf0ae88
Author: Adam Porter <adam@alphapapa.net>
Date: Wed Sep 18 04:03:27 2019 -0500
WIP: (org-ql-search.el) Require org-super-agenda
commit 76981fbcd3eba7d1b8d096c094a013953c2d3333
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 16 19:49:07 2019 -0500
WIP: More refactoring
commit a3e58f4d44aa804bfd9ff537aca53647dd068329
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 16 19:21:20 2019 -0500
WIP: View list sidebar
commit 56f27cd87f0ef246d31328e4c7a41ad2a1c57553
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Aug 31 22:25:09 2019 -0500
WIP: Split org-ql-agenda into org-ql-view and org-ql-search
2019-09-26 21:34:51 -05:00
Adam Porter
8f2a02264f
Add/Fix: Set case-fold for preambles
...
And use for (todo) preambles.
2019-09-18 01:33:15 -05:00
Adam Porter
f55fe7ef79
Fix: (heading) Only match against heading text
...
It should not match against e.g. tags strings or to-do keywords. Note
that the (regexp) predicate still matches against those, because it
searches entire entries, from heading stars to the next entry.
2019-09-11 22:02:14 -05:00
Adam Porter
5574f33682
Change: (regexp) Match all regexps
...
This seems more useful, because it makes it easier to narrow down
results, which is the most common way to search.
2019-09-11 21:59:39 -05:00
Adam Porter
622f0e6d5e
Add: helm-org-ql
...
Squashed commit of the following:
commit f4c2ce37199eb6eab5038e6bdadf5d57f8d88cd3
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 16:56:04 2019 -0500
Docs: Add about helm-org-ql C-x C-s
commit 845a205f7b17904cb9f8e379dc172787cdd16018
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 16:25:46 2019 -0500
WIP: Update docs and add screenshot
commit d8aa8a50169d3ecdee4d85a0f7cd6e1dc26e420e
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 16:25:18 2019 -0500
WIP: Ignore all query errors
Partially typed queries might cause parsing errors.
commit 782a830a5fb7d77ea2eba3553f46cc4dcac98708
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 16:24:57 2019 -0500
WIP: (deadline) and (priority)
commit d32e3e33f97dfa7593f4376c08eb31b0ccb980a2
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 14:26:54 2019 -0500
WIP: Compatibility
Trying to make it install and run cleanly even when Helm isn't
installed.
commit 4bd9943f86ef543903e10f3b58b26c0eb366d869
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 9 13:47:41 2019 -0500
Add: (helm-org-ql-org-directory)
commit d9a04e142ae68f83201c311fa84a46fa8f4e0ce0
Author: Adam Porter <adam@alphapapa.net>
Date: Mon Sep 2 12:23:51 2019 -0500
WIP: Add helm-org-ql.el
2019-09-09 17:10:46 -05:00
Adam Porter
ea2ed02c84
Add: (path) predicate
2019-09-09 14:08:48 -05:00
Adam Porter
2f9a7ab6b7
Change: (heading) Match all regexps
...
This makes more sense and should be more useful.
2019-09-09 13:40:56 -05:00
Adam Porter
deb78e51c7
Merge: 0.2.1
2019-09-09 09:07:44 -05:00
Adam Porter
55694f17fc
Fix: (descendants) matched against parent heading
...
It matched against parent headings instead of only descendants, which
caused some queries to return incorrect results.
Released as 0.2.1.
2019-09-09 09:05:13 -05:00
Adam Porter
eb722649c5
Add: org-ql-block-header
...
Closes #32 .
2019-09-06 12:35:45 -05:00
Adam Porter
8a624bdf0d
Change: (heading) Accept multiple regexps
2019-09-06 12:04:12 -05:00
Adam Porter
f55aae782c
Add: tags-all, tags&
2019-09-05 15:51:40 -05:00
Adam Porter
ca9ab3e6a5
Add: Tag cache, inherited/local tags predicates
2019-09-05 15:51:40 -05:00
Adam Porter
88a667b0fe
Add: org-ql-sparse-tree
...
Thanks to Akira Komamura (@akirak). Closes #34 .
2019-09-04 06:03:01 -05:00
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