Commit graph

707 commits

Author SHA1 Message Date
Adam Porter
57708e6cc1 Change: (-view--plist, -view-save) Factor out plist code
In preparation for bookmark support.
2020-11-02 20:12:31 -06:00
Adam Porter
65cc3fc24e Notes: Add task 2020-10-19 00:24:24 -05:00
Adam Porter
6633dbb276 Release: 0.4.6
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8L0BwACgkQ5+GdyTDsrJsFVQCdGz0i4KXwrnqcQC7Ov5/b+YSH
 lUEAoIJBRRJ462lJbe4nzkOkrB3VMIGF
 =JOpa
 -----END PGP SIGNATURE-----

Merge: 0.4.6
2020-07-12 22:09:03 -05:00
Adam Porter
0080055690 Fix: Copy macro peg-parse-string from peg-tests.el
Unfortunately, the macro was moved from peg.el to peg-tests.el in
later versions of peg, so we copy it for our use here.

Fixes #75.  Thanks to Karl Voit (@novoid) and @karlicoss for
reporting.

Released as 0.4.6.
2020-07-12 22:08:01 -05:00
Adam Porter
c847afe0b5 Merge: 0.4.5 2020-05-01 06:31:45 -05:00
Adam Porter
5a031bf5c1 Fix: (org-ql--select) Bind case-fold-search only around preamble
Fixes #114.  Thanks to @bitclick for reporting.

Released as 0.4.5.
2020-05-01 06:27:30 -05:00
Adam Porter
f4d7399e67 Fix: (org-ql-view--contract-buffers-files) Only compare to function
If the org-agenda-files variable points to a file pointing to a list
of agenda files, it shouldn't be compared to.  We should only compare
to the value returned by the org-agenda-files function.

Fixes #104.  Thanks to @gdindi for reporting.
2020-04-07 12:06:57 -05:00
Adam Porter
81673fc7b5 Fix: (org-ql-predicates) Use eval-and-compile
This is technically correct, even though package.el might obscure the
problem by causing the file to be loaded before it is compiled.
2020-04-07 12:05:24 -05:00
Adam Porter
ab5e9aa911 Notes: Add idea 2020-03-26 04:41:46 -05:00
Adam Porter
b3ee9a9c08 Notes: Add tasks, sort 2020-03-20 15:59:28 -05:00
Adam Porter
d55c01d2ae Merge: 0.4.4 2020-03-15 15:04:29 -05:00
Adam Porter
4fef5b089f Fix/Revert: Don't derive a new mode; check a variable in refresh
Using a different major mode in org-ql-view buffers causes some Org Agenda
remote commands to not work, because they test whether the major mode
is org-agenda-mode.  Even though these remote commands are not
guaranteed to work, it was not intended to break them now, so this
restores compatibility with them.

Fixes #102.  Thanks to Alois Janíček (@aloisjanicek) for reporting.

This reverts commit ba7d4a2e82.

Released as 0.4.4.
2020-03-15 15:02:52 -05:00
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