Commit graph

753 commits

Author SHA1 Message Date
Adam Porter
f6d2d1e537 Fix: Use org-timestamp-to-time everywhere
These changes should have been in adcb96c.

Thanks to Chris Rayner (@riscy) for noticing this omission.
2019-07-20 10:16:16 -05:00
Adam Porter
c31f873625 Fix: Define own get-tags function for compatibility
In Org <9.2, both org-get-tags and org-get-tags-at are functions, and
we must not clobber org-get-tags.  In Org 9.2+, org-get-tags replaces
org-get-tags-at, but org-get-tags-at remains defined as an obsolete
alias.

Thanks to Chris Rayner (@riscy).
2019-07-18 01:20:25 -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
Adam Porter
25ed67a37d Change: (--date-type-p) More detailed error for unknown date types 2019-07-17 11:53:51 -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
9846be03b9 Tidy: Docstring 2019-07-16 19:07:44 -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
66f36be2ca Tidy: Remove unused function 2019-07-16 18:56:51 -05:00
Adam Porter
b2e35997c7 Tidy: Rename macro to --defpred 2019-07-16 18:54:31 -05:00
Adam Porter
cf75e2fb1d Tidy: Move hash-table-test def 2019-07-16 18:52:41 -05:00
Adam Porter
3a2eaceca8 Tidy: Move defvar 2019-07-16 18:51:59 -05:00
Adam Porter
c6250d1ee2 Tidy: Docstring 2019-07-16 18:50:06 -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
Adam Porter
04725bb900 Tidy: Remove unused macro 2019-07-16 13:45:39 -05:00
Adam Porter
2b267ad195 Fix: Depend on Emacs 26.1 for if-let* 2019-07-16 13:45:25 -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
6a968d212f Docs: Update first paragraph 2019-07-16 13:05:16 -05:00
Adam Porter
3b88b71b41 Fix: Unused variable warnings 2019-07-16 13:01:45 -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
3adaf4e5fc Change: (org-ql-query) Call --select-cached with query, not pred
Since we will be pre-processing and modifying the query, the predicate
may not correspond exactly to the query, so we should key the cache on
the original query.
2019-07-16 12:42:58 -05:00
Adam Porter
014e0f1388 Tests: Add (todo) tests 2019-07-16 12:38:58 -05:00
Adam Porter
25ce89ca2c Tests: Add/change convenience commands 2019-07-16 12:38:58 -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
a7d8018f64 Notes: Add todo 2019-07-02 19:43:38 -05:00
Adam Porter
28fce8b871 Tests: Add (done) 2019-06-20 13:32:26 -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
9b5004b436 Fix: Restore date predicate
Need to deprecate with a warning and update examples before removing.

Fixes #25.  Closes #26.  Thanks to @xeijin for reporting.
2019-06-09 14:34:38 -05:00
Adam Porter
c40eb050a9 Notes: Add tasks 2019-06-09 05:09:53 -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
3d4ad1ab36 Add: Tests, Makefile, Cask 2019-06-08 23:52:03 -05:00
Adam Porter
7fed9f43bf Fix: Requirements 2019-06-08 23:52:03 -05:00
Adam Porter
b2e8b9cbfc Fix: (--predicate-clocked) advertised-calling-convention 2019-06-08 23:52:03 -05:00
Adam Porter
6c6bb2d572 Add: Clocked selector and supporting code 2019-06-08 23:51:52 -05:00
Adam Porter
9deec36458 Fix: Require org-habit
It would be optimal to avoid requiring it, but not worth the trouble.
2019-06-08 23:31:24 -05:00