Commit graph

28 commits

Author SHA1 Message Date
Adam Porter
b015b3b910 Tidy: Indentation, variable 2023-12-21 17:10:53 -06:00
Adam Porter
eaf58b463e Meta: Update copyright years
Fixes #336.
2023-12-21 16:54:17 -06:00
Adam Porter
f4b006ffb9 Remap embark-collect to embark-export 2023-12-21 16:40:09 -06:00
Adam Porter
2644f53fe2 Tidy, rename 2023-12-21 16:40:09 -06:00
Omar Antolín
0552aa8b93 Use a keymap for the org-ql-view export functionality 2023-12-21 16:40:09 -06:00
Omar Antolín Camarena
121af5c5d5 Add C-c C-e key binding to save an org-ql-find session 2023-12-21 16:40:09 -06:00
Adam Porter
c62ff77cd3 Tidy: Use compat and newer symbol names 2023-12-16 05:37:48 -06:00
Adam Porter
58d29d0fff Comment: Add FIXME 2023-10-25 03:21:03 -05:00
Adam Porter
a802579f86 Tidy 2023-10-25 03:19:29 -05:00
Adam Porter
40b25ac319 Fix: (org-ql-completing-read-snippet) while-no-input 2023-10-23 18:57:58 -05:00
Adam Porter
7ecb4a8b10 Tidy 2023-10-23 18:57:58 -05:00
Adam Porter
9aba73a28b WIP 2023-10-23 18:57:58 -05:00
Adam Porter
3f08d45ace Fix: (org-ql-completing-read-action) Format link 2023-10-23 18:57:58 -05:00
Adam Porter
6c18f133e9 Tidy: Function, docstrings, commented code 2023-10-23 18:57:58 -05:00
Adam Porter
e030627aeb WIP: Add display-sort-function 2023-10-23 18:57:58 -05:00
Adam Porter
28f5aa3100 WIP: Many improvements
Now need to do some kind of sorting...
2023-10-23 18:57:56 -05:00
Adam Porter
deada67e1d WIP: org-ql-open-link
Need to tidy up and generalize org-ql-completing-read a bit more, but
this is basically working, and should be very useful.
2023-10-23 18:56:45 -05:00
Omar Antolín Camarena
641ec0ac50 Add category metadatum to org-ql-completing-read
This is all that is needed to gain support for Embark actions on
org-ql-find candidates.
2023-09-27 14:53:44 -05:00
Adam Porter
56e203110b Fix: (org-ql-completing-read) Warn about empty headings 2023-09-26 20:48:59 -05:00
Adam Porter
8412d1a23d Tidy: Indentation
For Emacs 29.1.
2023-09-22 22:08:57 -05:00
Adam Porter
95abce2340 Fix: (org-ql-completing-read) :query-prefix prevented selection
COMPLETING-READ, when used with its REQUIRE-MATCH argument, would not
allow a result to be selected when ORG-QL-FIND was called with its
QUERY-PREFIX argument.

This change moves where the query is modified to include the prefix,
putting it into the RUN-QUERY function instead of the COLLECTION
function.  It seems to solve the problem, and the function seems to
still work when used without QUERY-PREFIX.  However, due to the
complexity of all this (we really need a SELECTING-READ API), it
wouldn't surprise me if something is later found to have been broken
by it...

Fixes #351.

Reported-by: Daniel Fleischer <https://github.com/danielfleischer>
2023-09-14 08:10:49 -05:00
Adam Porter
3c24958738 Fix: (org-ql-completing-read) Variable name 2023-09-06 18:55:39 -05:00
Ankit Pandey
a7af6d78b2 Fix: (org-ql-completing-read) Store markers as text property
Fixes #350
2023-09-06 11:11:17 -05:00
Adam Porter
2c098540ca Fix: (org-ql-completing-read) Format links before display
Also use org-entry-get to get the heading, which should avoid issues
with different Org versions having different optional arguments to
org-get-heading.
2023-05-05 17:25:21 -05:00
Adam Porter
4c1a4b169f Fix: (org-ql-completing-read)
This seems to work better now with default Emacs completion (i.e. not
using Vertico or Helm).  It's still not perfect, but it seems to work
reasonably well and be more correct.

Fixes #338.  Thanks to @arozbiz for reporting.
2023-03-12 09:33:28 -05:00
Adam Porter
e08de2a76c Fix: (org-ql-completing-read) Bind org-outline-path-cache nil 2023-03-12 05:59:22 -05:00
Adam Porter
d21da3682b Tidy: Compilation warnings 2023-03-09 03:23:42 -06:00
Adam Porter
cfa3b307ec Add/Change: org-ql-completing-read, etc. 2022-08-19 03:26:15 -05:00