Commit graph

48 commits

Author SHA1 Message Date
Adam Porter
ae3ec62e3c Add: org-ql-view-map 2019-08-16 12:29:20 -05:00
Adam Porter
6aeb3030c6 Add: Customization group 2019-08-16 12:15:09 -05:00
Adam Porter
62878f5d9f Fix: Free variable warning 2019-08-16 11:47:04 -05:00
Adam Porter
da711ebb35 Fix: (org-ql-search) Interactive completion 2019-08-15 23:34:23 -05:00
Adam Porter
6cd9341146 Fix: (org-ql-agenda--header-line-format) Available width
Could cause an error with very long queries.
2019-08-15 17:47:39 -05:00
Adam Porter
0a69207759 Add: (org-ql-search) Offer global groups 2019-08-13 22:35:51 -05:00
Adam Porter
b256fa6a78 Change: (org-ql-agenda--header-line-format) Spacing
A bit more compact.
2019-08-13 21:33:54 -05:00
Adam Porter
62fbd6123c Add: (org-ql-agenda, org-ql-search) :title argument 2019-08-13 19:43:17 -05:00
Adam Porter
5174aca4e8 Tidy: (org-ql-agenda--format-element) 2019-08-12 20:46:35 -05:00
Adam Porter
e97d2c0af3 Add: org-ql-agenda-face 2019-08-12 20:45:44 -05:00
Adam Porter
4970d441cc Change: (org-ql-agenda--format-element) Return empty string if nil
This allows mapping the function across elements which may be nil,
helping to separate items in agenda views by inserting nil between
them.
2019-08-08 15:51:51 -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
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
b7932063a0 Fix: (org-ql-agenda--format-element) Extra indentation 2019-08-08 08:30:53 -05:00
Adam Porter
cc5756d00d Add: (org-ql-agenda--header-line-format) Move code to new function 2019-07-26 16:39:29 -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
f39e752db3 Tidy: http->https 2019-07-17 09:23:41 -05:00
Adam Porter
2a40b18007 Fix: (org-ql-search) Space ending prompt string 2019-07-17 09:22:08 -05:00
Adam Porter
3e9f3276c0 Fix: Sharp-quote alias targets 2019-07-17 09:22:01 -05:00
Adam Porter
8a8f78408c Fix: Declare org-super-agenda as ext 2019-07-17 09:20:53 -05:00
Adam Porter
75d8fd534f Tidy: Buffer name 2019-07-16 19:17:56 -05:00
Adam Porter
18def9313a Change: (org-ql-agenda--agenda) Avoid eval 2019-07-16 19:07:55 -05:00
Adam Porter
0f963fc811 Tidy: Parens 2019-07-16 19:01:33 -05:00
Adam Porter
bc4bdc1587 Comment: Add MAYBE 2019-07-16 19:01:26 -05:00
Adam Porter
9648dd12f9 Tidy: Headers, commentaries, etc. 2019-07-16 18:46:19 -05:00
Adam Porter
42138e2673 Docs: Update docstrings
To comply with checkdoc.
2019-07-16 13:49:41 -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
Daniel Kraus
0b7628c1f7 Fix: Byte-compile warnings
Define some `org-super-agenda` symbols in case org-super-agenda
is not installed.
2019-07-16 13:29:13 -05:00
Adam Porter
0aec8ec603 Add: Search buffer refreshing, header line, etc. 2019-06-10 19:13:08 -05:00
Adam Porter
7fed9f43bf Fix: Requirements 2019-06-08 23:52:03 -05: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
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
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
df5d5e2387 Comment: Add FIXME 2018-09-17 22:25:16 -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
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
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
75886a57a6 Change: org-agenda-ng -> org-ql-agenda 2018-08-21 02:37:30 -05:00
Renamed from org-agenda-ng.el (Browse further)