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
ca22b7a9e1
Docs: Add LICENSE
2019-06-08 04:47:22 -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
Adam Porter
3b56bd14dd
Notes: Add task
2019-06-07 21:54:14 -05:00
Adam Porter
b11a3ea3cf
Tidy: Docstring and tasks
2019-06-07 21:53:20 -05:00
Adam Porter
c5599a6030
Add/Change: date->planning, and new selector checks all dates/ranges
...
Fixes #15 . Closes #16 .
Thanks to @codygman for reporting, and to @swflint for reminding me.
2019-01-16 09:24:59 -06:00
Adam Porter
4cbb220764
Notes: Add task
2019-01-14 19:56:39 -06:00
Adam Porter
50465f0af8
Docs: Add org-ql-search snippet example
2019-01-14 18:38:59 -06:00
Adam Porter
588ee2cb12
Change: (org-ql-search) Declare indent
2019-01-14 18:36:14 -06:00
Adam Porter
20d563452f
Change: (org-ql-search) Switch to keyword arguments
...
And order arguments like other org-ql functions.
Note that the code shown in the animation in the readme doesn't
reflect this change.
2019-01-14 18:31:37 -06:00
Adam Porter
f2be12acf8
Notes: Update notes
2019-01-14 17:41:06 -06:00
Adam Porter
95a6b9f2d3
Add: org-ql-search
...
Also move screenshot into subdir.
2019-01-06 06:57:25 -06:00
Adam Porter
09501c7f61
Fix: (org-ql-agenda) Add package headers
2018-12-28 10:49:16 -06:00
Adam Porter
62fa389901
Fix: (org-ql) Add package headers
2018-12-28 10:46:52 -06:00
Adam Porter
748c3fb619
Change: (org-ql-agenda) Allow org-super-agenda-groups global value
...
Also, automatically quote :super-groups in macro expansion, and update
example in readme.
2018-12-18 06:16:53 -06:00
Adam Porter
a58273c147
Fix: Shadowed variable
2018-12-18 06:12:16 -06:00
Adam Porter
ed3741de4b
Add: (org-ql-agenda--agenda) org-super-agenda-mode error
...
If groups are specified but the mode isn't active, the user will be
confused. We might as well raise an error.
2018-12-15 01:03:28 -06:00
Adam Porter
efb6938748
Fix: (org-ql-agenda) Restore super-groups functionality
...
Fixes #17 . Thanks to Dustin Lacewell (@dustinlacewell).
2018-12-14 23:56:26 -06:00
Adam Porter
50fab59fec
Change: Simplify a pcase
2018-11-19 03:24:33 -06:00
Adam Porter
df5d5e2387
Comment: Add FIXME
2018-09-17 22:25:16 -05:00
Adam Porter
95958a16a6
Notes: Add article
2018-08-26 15:44:50 -05:00
Adam Porter
bd75b15056
Docs: Clarify example
...
Show where the grouping comes from, since it's not part of this
package.
2018-08-24 09:11:12 -05:00
Adam Porter
e7bc68c9d1
Fix: Don't use aprog1
...
I wish more people had anaphora installed, but since they don't...
2018-08-22 18:13:06 -05:00
Adam Porter
db6543b18c
Fix: (org-ql--query) Error if run in non-Org-derived buffer
2018-08-22 16:40:06 -05:00
Adam Porter
a3aac8466b
Notes: Add task
2018-08-22 16:39:57 -05:00
Adam Porter
6a9f5cc37c
Add: Heading matcher
...
This should also be easy to optimize with a buffer-wide regexp search.
2018-08-22 14:41:00 -05:00
Adam Porter
5774880988
Change/Fix: Pass :narrow to org-ql-agenda--agenda
...
This function is not only useful for "agenda" views, in which one
would almost surely want a widened buffer, but also agenda-like views
of subtrees, in which narrowing should be preserved.
2018-08-22 14:32:46 -05:00
Adam Porter
103993c52e
Fix: Unused variable warnings
...
We may need these in the future, so rather than have to dig these back
out of org-agenda.el, I'll just comment them out for now. This
silences the byte-compiler.
2018-08-22 14:31:56 -05:00
Adam Porter
e141089633
Fix: Unused lexical vars
2018-08-22 14:18:56 -05:00
Adam Porter
90aa62a5af
Change/Fix: (org-ql--add-agenda-markers) Rename and use copy-marker
...
org-agenda-new-marker sometimes raises "selecting deleted buffer"
errors, and other times returns markers that don't point into a
buffer (I don't even know how that's possible). copy-marker always
works, so we'll use it, even though it might leave markers hanging
around which theoretically could affect performance over time (but
isn't Emacs still supposed to GC them? I'm not sure).
Also, rename it to org-ql--add-markers, since we're not adding
"agenda" markers anymore.
2018-08-22 14:15:28 -05:00
Adam Porter
a9a4ac33d8
Change: Remove org-ql-agenda--add-markers
...
We use org-ql--add-agenda-markers now.
2018-08-22 14:14:11 -05:00
Adam Porter
a2d8ed2eeb
Add: Caching
...
Seems to work well so far. Hopefully no bugs will be found (ha,
ha)...
Fixes #6 . Thanks to @yantar92 for suggesting!
<https://www.reddit.com/r/emacs/comments/990swh/querying_org_files_for_due_items_and_showing/e4kduul/ >
2018-08-22 14:03:48 -05:00
Adam Porter
cdbe750b7c
Fix: Don't treat an element's :begin property as a marker
...
Only markers are markers. Also add FIXME about tag inheritance when
no marker is used (although see caveat in it...).
2018-08-22 13:32:44 -05:00
Adam Porter
b4ba9e78fd
Fix: (--add-scheduled-face) Remove broken prefix code
...
Also unnecessary since we use --format-relative-date. If we ever want
to exactly emulate the Agenda, this can be replaced.
See https://github.com/alphapapa/org-ql/issues/5#issuecomment-414717478 .
2018-08-22 01:37:08 -05:00
Adam Porter
d3cb2bfeed
Fix: (org-ql-agenda--add-scheduled-face) todo-keyword error
...
Mentioned in #5 . Thanks again to @natrys.
2018-08-21 09:10:26 -05:00
Adam Porter
8716c9a087
Fix: (org-ql-agenda) Argument handling
...
Fixes #5 . Thanks to @natrys for reporting.
2018-08-21 09:05:52 -05:00
Adam Porter
f9167ccb7a
Notes: Add note
2018-08-21 02:39:51 -05:00
Adam Porter
2d0a79a9f3
Docs: Mention org-sidebar
2018-08-21 02:37:32 -05:00
Adam Porter
e905105f7e
Add example script
2018-08-21 02:37:32 -05:00
Adam Porter
75886a57a6
Change: org-agenda-ng -> org-ql-agenda
2018-08-21 02:37:30 -05:00
Adam Porter
2ddc69b64d
Refactor agenda-ng buffer and use org-agenda-mode
...
Using org-agenda-mode isn't exactly *correct*, but since we use some
compatible text properties, it does give us some functionality for
free, even if it isn't 100% compatible.
Note that this should be considered experimental. It's not
unimaginable that using some agenda buffer commands in the agenda-ng
buffer could have unexpected consequences, including data corruption.
However, basic ones like jumping to entries and org-agenda-priority
seem to work.
2018-08-21 00:09:02 -05:00
Adam Porter
ad4aad16f1
Change: Rename fmap macro to flet
2018-08-20 08:17:10 -05:00
Adam Porter
32f2b3304a
Change: Use macrolet instead of flet for priority sorter
2018-08-20 07:49:49 -05:00
Adam Porter
c9245be371
Tidy
2018-08-20 07:48:10 -05:00
Adam Porter
cdd25e8a7f
Add: Support org-super-agenda
...
Since we aren't calling org-agenda-finalize-entries anymore, we call
org-super-agenda--group-items directly when appropriate.
2018-08-20 07:41:46 -05:00
Adam Porter
f6db1097dc
Change: Refactor and tidy
...
Move add-markers function into org-ql, which should help avoid
cross-dependency, and should be generally useful.
2018-08-20 07:38:07 -05:00