Commit graph

695 commits

Author SHA1 Message Date
Adam Porter
5bc4a4a825 Merge: 0.4.3 2020-03-14 14:08:53 -05:00
Adam Porter
ba7d4a2e82 Add/Fix: org-ql-view-mode, and check when refreshing
Use a derived major mode for org-ql-view buffers, and ensure that mode
is active when calling org-ql-view-refresh, to avoid interfering with
buffers in other modes if the user calls the command by accident.

See
<b87156f2bb>.
Thanks to Alois Janíček (@AloisJanicek) for discovering the bug.

Released as 0.4.3.
2020-03-14 14:06:42 -05:00
Adam Porter
ca03ad0d4a Meta: Update makem.sh 2020-03-14 14:01:35 -05:00
Adam Porter
881d298cd0 Comment: Add TODOs 2020-03-13 19:08:26 -05:00
Adam Porter
1688774ddd Change: (org-ql-view--header-line-format) Use keyword args 2020-03-09 17:40:41 -05:00
Adam Porter
f7d8b8c78c Fix: (org-ql-view-map) Bind q to bury-buffer
Because org-agenda-quit isn't useful in org-ql-view buffers.
2020-03-09 13:31:56 -05:00
Adam Porter
996d648560 Fix: (org-ql-view--contract-buffers-files) Handle org-agenda-files 2020-03-08 11:14:13 -05:00
Adam Porter
3349c1d07a Change: (org-ql-view-map) Also bind "g" to refresh
I keep hitting "g" and nothing seems to happen, because it runs the
org-agenda refresh command, which doesn't do anything in org-ql-view
buffers.  This must be happening to other people too.  So let's fix
that.
2020-03-08 11:05:38 -05:00
Adam Porter
8aac3b6100 Fix: (org-ql-view-map) Use set-keymap-parent 2020-03-08 11:05:20 -05:00
Adam Porter
0648196076 Change/Fix: (helm-org-ql.el) Wrap in eval-and-compile
This avoids errors when Helm is not installed, and it seems to work
correctly when Helm is installed.  This should be an improvement until
this file is put in its own package.
2020-03-02 00:58:10 -06:00
Adam Porter
11a0466f92 Fix: (helm-org-ql-map) Use make-composed-keymap
Fixes #99.  Thanks to Akira Komamura (@akirak).
2020-03-02 00:45:27 -06:00
Adam Porter
20f3ce747c Fix: (org-ql-view--contract-buffers-files) Single file/buffer
This fixes the bug for now, but it needs to be tested more carefully.
And now the view dispatcher has a minor bug when changing the list of
buffers-files sometimes that requires pressing it more than once to
get the prompt; not sure if related to this.
2020-03-02 00:23:35 -06:00
Adam Porter
132173b36e Fix: (org-ql-view) Require crm
Fixes #98.  Thanks to @bepolymathe for reporting.
2020-03-02 00:22:41 -06:00
Adam Porter
e811ac5680 Docs: Add mascot 2020-03-01 09:41:35 -06:00
Adam Porter
fc91bdd483 Add/Change: (org-ql-view--contract-buffers-files), etc.
When offering completion of org-ql-view-buffers-files, and when
formatting it in the header line, use the "contracted" form when
possible (i.e. show "org-agenda-files" instead of a list of all the
expanded agenda file filenames).

Fixes #95.  Thanks to Kilian Sprotte (@kisp) for suggesting.
2020-02-27 20:03:25 -06:00
Adam Porter
a459204e78 Change: (view--complete-sort) Separate with spaces, not comma 2020-02-26 19:57:16 -06:00
Adam Porter
60d1bd1f97 Merge: 0.4.2 2020-02-26 19:15:52 -06:00
Adam Porter
4b1e253ee9 Fix: (org-ql-view--add-todo-face) Always return to-do keyword
Even when org-done-keywords-for-agenda is nil.  I'm not sure when this
was broken, but the logic was wrong in this function, and this is the
intended behavior, so this is a bug fix.

Released as 0.4.2.
2020-02-26 19:11:40 -06:00
Adam Porter
9b2ff276a0 Tests: Tidy 2020-02-24 01:48:09 -06:00
Adam Porter
9a56141f6c Add: (link) predicate 2020-02-24 01:47:02 -06:00
Adam Porter
5d720b9fc3 Merge: 0.4.1 2020-02-23 23:27:06 -06:00
Adam Porter
32c68d7f24 Fix: (--pre-process-query) level predicate with args in plain query
Fixes #96.  Thanks to Akira Komamura (@akirak) for reporting.

Released as 0.4.1.
2020-02-23 23:22:11 -06:00
Adam Porter
69692a4b9b Meta: (.gitignore) Ignore scratch.org 2020-02-23 23:00:41 -06:00
Adam Porter
be696ff075 Meta: Update makem.sh, etc. 2020-02-23 22:59:49 -06:00
Adam Porter
048de35b07 Notes: Add idea on partial property value searches 2020-02-13 00:45:01 -06:00
Adam Porter
87b483e4e4 Fix: Require transient in org-ql.el
I guess package-build only finds dependencies in the file named after
the package.
2020-02-11 06:54:19 -06:00
Adam Porter
d8dec50f5c Meta: (.gitignore) Add .sandbox 2020-02-10 09:13:30 -06:00
Adam Porter
9580c0ef67 Change: (org-ql-search) Use new completion functions 2020-02-10 09:12:49 -06:00
Adam Porter
b601a1e777 Update: (org-ql-view-save) Require map 2.0 and use map-elt
I upgrade to map.el 2.0 (from ELPA) locally, which deprecates this
TESTFN argument.
2020-02-10 09:12:46 -06:00
Adam Porter
6e3c0d3c68 Add: Transient view dispatcher 2020-02-10 09:11:59 -06:00
Adam Porter
68a1cf29b6 Docs: Update readme for new org-make-toc 2020-02-10 08:56:39 -06:00
Adam Porter
70f03b200f Docs: Move a screenshot to examples 2020-02-10 08:56:39 -06:00
Adam Porter
ef0c5220c2 Meta: 0.5-pre 2020-02-10 08:56:39 -06:00
Adam Porter
8baeeea49e Notes: Add idea 2020-02-09 15:25:44 -06:00
Adam Porter
e23a026fe5 Meta: Update makem.sh, Makefile, and pre-push
Use local .sandbox sandbox.  (Assumes it is initialized.)
2020-02-09 15:25:44 -06:00
Adam Porter
035c20fc28 Docs: Update comparison 2020-02-04 02:48:29 -06:00
Adam Porter
538373bb48 Release: 0.4 2020-01-22 23:39:25 -06:00
Adam Porter
6e55723e27 Docs: Clarify change notice 2020-01-22 23:38:34 -06:00
Adam Porter
d1a84a7c28 Merge: parent-ancestors-predicates
Closes #77.  Thanks to Josh Moller-Mara (@mm--).
2020-01-22 23:35:02 -06:00
Adam Porter
843564ad8c Add: (org-ql-views) Dangling tasks view 2020-01-22 23:34:34 -06:00
Adam Porter
66f58b97f2 Docs: Add examples, update ToC 2020-01-22 23:34:34 -06:00
Adam Porter
8f2baa10a3 Docs: Fix ToC, info file 2020-01-22 23:34:34 -06:00
Adam Porter
22cacbd8fe Docs: Add credit 2020-01-22 23:34:34 -06:00
Adam Porter
18c6787244 Tidy: (org-ql--pre-process-query) Calling of --query-predicate 2020-01-22 23:34:34 -06:00
Adam Porter
0e1196fd6f Tidy/Docs/Comment: Ancestor/descendant predicates 2020-01-22 23:34:25 -06:00
Adam Porter
adc5447c72 Tidy/Comment: Ancestor/descendant predicates 2020-01-22 23:33:44 -06:00
Adam Porter
3003eb8ad4 Comment: Add tasks 2020-01-22 23:33:29 -06:00
Adam Porter
e48cdf7143 Tests: Add ancestor/parent tests 2020-01-22 23:33:16 -06:00
Josh Moller-Mara
65fb37c30d Add: parent and ancestors predicates
These predicates are analogs to the existing "children" and
"descendents" predicates.

They may be useful for testing parents for specific todo states, or if
they have non-inherited tags (i.e. tags from
"org-tags-exclude-from-inheritance").
2020-01-22 23:32:24 -06:00
Adam Porter
b8a4a53983 Change: (org-ql-views/Stuck projects) Use descendants, not children 2020-01-22 23:24:54 -06:00