Commit graph

818 commits

Author SHA1 Message Date
Adam Porter
cbd4ea89f4 Notes: Update 2020-11-12 03:25:47 -06:00
Adam Porter
f63012dd5a Fix: (org-ql-view--link-store) Rejection of unlinkable buffers
Also, remove the Org <=9.1.4 compatibility code.  It's not worth it.
I'm probably the only person who needs it, anyway, and I can live with
the double-call until I upgrade my Org version.

Fixes #148.  Thanks to @tpeacock19 for reporting.
2020-11-12 02:44:16 -06:00
Adam Porter
284eda87e5 Fix: (org-ql-view--link-store) Test Org version
See #147.  Thanks to @tpeacock19 for reporting.
2020-11-12 02:10:57 -06:00
Adam Porter
a069cf5b2c Notes: Update 2020-11-12 00:28:32 -06:00
Adam Porter
5e790c48ac Tests: Add tests for link safety 2020-11-12 00:22:45 -06:00
Adam Porter
a5d4886880 Fix: (org-ql-view--link-open) Safety check the sort parameter 2020-11-12 00:22:23 -06:00
Adam Porter
689cfd68e7 Fix: (-view--link-open) Set org-super-agenda-allow-unsafe-groups 2020-11-11 22:52:54 -06:00
Adam Porter
6ab74454d0 Fix: (org-ql-view--expand-buffers-files) Remove eval support
This prevents arbitrary code execution when opening "org-ql-search:"
links.  (The links feature was just pushed to master in the last day
or so, and no stable release with the feature has been tagged.)  This
fix also means that arbitrary expressions are no longer accepted when
interactively completing the buffers-files argument to
org-ql-search (a worthy trade, I think; users who need to do that can
call the function from Lisp).
2020-11-11 20:51:24 -06:00
Adam Porter
c2c7efed00 Docs: Update readme
Links can search more than just the current document now.
2020-11-11 20:38:05 -06:00
Adam Porter
2bed84aa1e Fix: (org-ql-view--contract-buffers-files) Don't check file exists
If the buffer has no filename, this will signal an error.
2020-11-11 19:54:13 -06:00
Adam Porter
f8d671a7b8 Docs: Thanks to @tpeacock19 2020-11-11 19:52:46 -06:00
Adam Porter
b0b8c6334d Fix: (helm-org-ql.el) Compiler warnings 2020-11-11 19:52:46 -06:00
Adam Porter
4b557857d3 Tidy: Indentation 2020-11-11 19:52:46 -06:00
Adam Porter
b0e8fa2734 Tidy: Indentation 2020-11-11 19:52:46 -06:00
Adam Porter
04c94bc141 Change: (org-ql-view.el) Rename bookmark functions
They shouldn't be private functions, especially since one is autoloaded.
2020-11-11 19:52:24 -06:00
Adam Porter
0101bbebde Comment: Remove useless package header
Not the main library file.
2020-11-11 19:52:24 -06:00
Adam Porter
6970a952ba Fix: (org-ql-search.el) Require map
Need to explicitly load it so that map 2.1 will be loaded when the
file is byte-compiled, otherwise the pcase map expansions will fail.
2020-11-11 19:52:24 -06:00
Adam Porter
33df77420e Notes: Update 2020-11-11 19:52:24 -06:00
Adam Porter
87b952c7bf Fix: (org-ql-view--link-store) Don't store link to buffers 2020-11-11 19:52:24 -06:00
Adam Porter
01660aac22 Notes: Update 2020-11-11 19:52:24 -06:00
Adam Porter
ef40a25b05 Change: (org-ql-view--link-store) Convert queries to strings
See #147.
2020-11-11 19:52:24 -06:00
Adam Porter
e15cc3eb76 Add: (--query-sexp-to-string) 2020-11-11 19:52:24 -06:00
Adam Porter
07d21e57c0 Tidy 2020-11-11 19:52:24 -06:00
Adam Porter
bfd4d462a0 Add/Change/Fix: Storing links to containing buffer or files
This feels too complicated, but I don't see a way around it, short of
redesigning all of the argument expansion/contraction, which might end
up in the same place, anyway.

See #147.
2020-11-11 19:52:24 -06:00
Adam Porter
8102d7a8ee Fix: (org-ql-view--format-element)
Actually, really fix it this time.

Fixes #150.  Thanks to @tpeacock19 for reporting.
2020-11-11 18:11:24 -06:00
Adam Porter
168041f0df Comment: Add FIXME 2020-11-11 04:24:34 -06:00
Adam Porter
bd9162381f Notes: Update 2020-11-11 01:45:55 -06:00
Adam Porter
73da48d9da Comment: Add FIXMEs 2020-11-11 00:23:32 -06:00
Adam Porter
78fd672cc7 Fix: (org-ql-view--format-element) Get tags from marker buffer
Fixes bug introduced in 359a280d11.

Fixes #150.  Thanks to @tpeacock19 for reporting.
2020-11-11 00:23:17 -06:00
Adam Porter
23e73addcf Fix: (-view--link-store, -view--link-open) Types, current-buffer
This is regrettably complicated.  Maybe someday Elsa will help...

Fixes #147 (again).  Thanks to @tpeacock19 for reporting.
2020-11-10 20:35:32 -06:00
Adam Porter
60b457eea4 Fix: (org-ql-view.el) Compiler warnings 2020-11-10 19:43:48 -06:00
Adam Porter
93f60ad478 Fix: (org-ql-view--link-store) Handle single filenames
Fixes #147.  Thanks to @tpeacock19 for reporting.
2020-11-10 19:42:12 -06:00
Adam Porter
364dfabca4 Add: (org-ql-view-ask-unsafe-links) 2020-11-10 19:42:12 -06:00
Adam Porter
e3c7aaf98d Docs: (org-ql-search) Add Info links to docstring 2020-11-10 18:37:04 -06:00
Adam Porter
5d563809e2 Change: (-view--link-open, -view--link-store) Links to views of files
Fixes #147.  Thanks to @tpeacock19 for reporting.
2020-11-10 18:27:33 -06:00
Adam Porter
1b43a88d32 Fix: (org-ql-view--link-store) Check buffers-files only when needed
See #147.  Thanks to @tpeacock19 for reporting.
2020-11-10 17:45:27 -06:00
Adam Porter
5a0ed259bc Notes: Add TODO 2020-11-10 05:21:56 -06:00
Adam Porter
0b65eb221e Notes: Add TODO 2020-11-10 04:32:21 -06:00
Adam Porter
0cfe44084b Tidy: (org-dblock-write:org-ql) 2020-11-10 04:24:38 -06:00
Adam Porter
2e469fa547 Tidy: (org-ql--peg-parse-string) Silence, Checkdoc! 2020-11-10 04:14:44 -06:00
Adam Porter
6d5ce97dc7 Fix: Byte-compile warnings 2020-11-10 04:14:01 -06:00
Adam Porter
9bdfcc1d3d Add: (org-dblock-write:org-ql) Custom column headers 2020-11-10 02:28:44 -06:00
Adam Porter
992f3c2675 Add: Link support 2020-11-10 02:02:55 -06:00
Adam Porter
c0a10ba96a Fix: (org-dblock-write:org-ql) cl-minusp 2020-11-10 00:27:35 -06:00
Adam Porter
8e6aae95a0 Notes: Update 2020-11-10 00:06:37 -06:00
Adam Porter
c0ded3ded3 Add: Dynamic block 2020-11-09 23:58:17 -06:00
Adam Porter
2c466ebdcd Notes: Dynamic blocks update 2020-11-09 22:42:59 -06:00
Adam Porter
90b7a9a48b Notes: Update 2020-11-09 01:55:47 -06:00
Adam Porter
73e17844a3 Meta: Update .gitignore 2020-11-09 01:41:05 -06:00
Adam Porter
17fd923fc9 Meta: Delete Cask file 2020-11-09 01:32:04 -06:00