Commit graph

291 commits

Author SHA1 Message Date
Ahmed Shariff
837dd98def
Merge 874d9d70d8 into 4f62ba3bd6 2023-11-11 02:09:27 -07:00
Adam Porter
2319fc9d8b Docs: Update changelog, Usage 2023-10-25 03:29:03 -05:00
Adam Porter
ee01bcb6e8 Merge: v0.7.3 2023-10-23 18:55:00 -05:00
Adam Porter
28c4215704 Release: v0.7.3 2023-10-23 18:52:04 -05:00
Adam Porter
631cd80ce8 Fix: (org-ql-find) Go to selected entry
Fixes #380.

Reported-by: Omar Antolín Camarena <omar@matem.unam.mx>
2023-10-23 01:26:39 -05:00
Adam Porter
09c3591504 Fix: Saving of org-ql-view views
It didn't seem that calling custom-save-all was necessary in the past,
but it appears that it is now.

Closes #378.

Reported-by: Pentaquark1 <https://github.com/Pentaquark1>
2023-10-19 21:50:30 -05:00
Adam Porter
4476759dc9 Fix: (org-ql--outline-path) Disable case-fold-search 2023-10-19 21:47:34 -05:00
Adam Porter
daad25e079 Meta: v0.7.3-pre 2023-10-19 21:45:22 -05:00
Adam Porter
ac2d43588a Add: (org-ql-find-path) 2023-10-19 21:44:26 -05:00
Adam Porter
ab720689e9 Change: (org-ql-find) Interactively, search relevant buffers 2023-09-30 20:09:12 -05:00
Adam Porter
a41dfe25ea Docs: Update changelog, usage 2023-09-27 15:02:40 -05:00
Adam Porter
5c9d4cdb48 Docs: Update changelog 2023-09-27 13:40:30 -05:00
Adam Porter
0a0291288e Meta: v0.8-pre 2023-09-27 13:36:18 -05:00
Adam Porter
f9d4f62415 Release: v0.7.2 2023-09-27 00:21:21 -05:00
Adam Porter
56e203110b Fix: (org-ql-completing-read) Warn about empty headings 2023-09-26 20:48:59 -05:00
Adam Porter
be20dc3d5b Fix: (org-ql-find) Use org-with-point-at
I keep pointing out to other people that they should use
org-with-point-at, but I still have places in my own code where I need
to use it, too!
2023-09-26 13:42:00 -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
131407814e Fix: (org-ql--def-query-string-to-sexp-fn) Ignore leading blanks 2023-09-08 02:22:40 -05:00
Adam Porter
f65b1d91a4 Fix: (org-ql--normalize-from-to-on) Tolerate "-" input
Avoids errors while typing a query (e.g. a negative number) into
org-ql-find, which interrupts completion altogether.
2023-09-06 20:51:41 -05:00
Adam Porter
3622b92403 Meta: v0.7.2-pre 2023-09-06 20:49:12 -05:00
Adam Porter
d776e205d5 Release: v0.7.1 2023-09-06 18:57:36 -05:00
Adam Porter
2d29d69133 Docs: Update changelog 2023-09-06 16:08:54 -05:00
Adam Porter
898addeee9 Docs: Tidy
The circumstances which precipitated this expression of support for
fellow developers thankfully passed some time ago.
2023-09-04 22:40:52 -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
ce66f67c96 Meta: v0.7.1-pre 2023-03-12 05:59:13 -05:00
Adam Porter
aadddc4d84 Release: v0.7 2023-03-10 06:25:45 -06:00
Adam Porter
9e14f9eefa Fix: (link) Allow brackets in description
Org 9.3 stopped replacing brackets in link descriptions with braces
and started escaping them instead.

Fixes #283.  Thanks to Daniel Borchmann (@exot) for reporting.
2023-03-10 05:56:01 -06:00
Adam Porter
d92afcda06 Docs: Update changelog 2023-03-10 04:46:32 -06:00
Adam Porter
902dad04c1 Docs/Tidy: Update readme, reorder forms 2023-03-10 03:36:21 -06:00
Akira Komamura
6afe3be572 Add: (blocked) predicate 2023-03-10 03:33:08 -06:00
Adam Porter
d21da3682b Tidy: Compilation warnings 2023-03-09 03:23:42 -06:00
Adam Porter
8bb1739661 Tests: (src) Normalization with no args
Closes #293.  Thanks to Akira Komamura (@akirak) for reporting.
2023-03-09 02:45:48 -06:00
Adam Porter
d784f8f71c Tests: (src) Implement 2023-03-09 02:45:48 -06:00
Adam Porter
1996969920 Fix: (src) Rewrite body
Fixes #304.  Thanks to @johanwk for reporting.
2023-03-09 01:46:34 -06:00
Adam Porter
d253b123cf Docs: Add credits for v0.7-pre 2022-12-09 20:33:01 -06:00
Adam Porter
ecde3a0420 Change/Fix: (src) Normalization, case-insensitivity 2022-12-09 20:19:55 -06:00
Adam Porter
9dd1bbb10b Merge: 0.6.3 2022-12-08 20:50:01 -06:00
Adam Porter
80b334c269 Release: v0.6.3 2022-12-08 20:45:14 -06:00
Adam Porter
2ddfb7c231 Fix: Require org-duration
This appears to be necessary on newer Org versions, but I don't know
exactly when.
2022-12-08 20:45:14 -06:00
Adam Porter
9f00fa3890 Fix: (org-ql--def-query-string-to-sexp-fn) Updated for peg v1.0.1
Fixes #314, fixes #316.  Thanks to Akira Komamura (@akirak) and Joon
Ro (@joonro) for reporting.

Instead of `[blank]` in this PEX, it used to be `(syntax-class
whitespace)`, which worked fine with peg v1.0.  Then
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59345> was filed and
resulted in the release of peg v1.0.1, after which that no longer
worked.  As best I can tell from reading the discussion, `[blank]` and
`(syntax-class whitespace)` should behave the same way, yet here they
do not: with peg v1.0.1, only `[blank]` works.  Why, I do not know; I
only tried it because I could find no explanation for the broken
behavior, and luckily, it works.  Maybe it's due to the use of
`(syntax-class whitespace)` later in the `pexs`; but since it finally
works again, let's take the victory as-is.
2022-12-08 20:44:24 -06:00
Adam Porter
f22fdd457b Meta: v0.6.3-pre 2022-12-08 19:48:40 -06:00
Ahmed Shariff
4b19e5fb0b Allow mulitple values to be read for org-ql-view-buffers-files
commit d8f29225a3
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Fri Sep 24 15:47:38 2021 -0500

    Abstract buffers-files being flattened to a list of strings

commit 2d49745425
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Fri Sep 17 17:53:21 2021 -0500

    Fix: \w duplicates & func's with buffers/names with expand/contract

commit 576f9d3512
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Thu Sep 16 18:42:32 2021 -0500

    Handling support for functions \w functions using completing-read-multiple

commit cea165192d
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Thu Sep 16 16:49:19 2021 -0500

    Cleaning up functions and improvements for clarity.

commit aa9c6ccdfa
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Wed Sep 15 17:56:19 2021 -0500

    Adding `comma separated` instruction to readme

commit 564d491604
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Mon Sep 13 17:05:14 2021 -0500

    Fixes for using mulitiple values and related test suite improvements

commit ffaebcbcbe
Merge: 788951a 94f9e6f
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Mon Sep 13 13:15:57 2021 -0500

    Merge branch 'master' of https://github.com/alphapapa/org-ql

commit 788951a4a9
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Mon Sep 13 11:01:55 2021 -0500

    Replacing org-ql-view--expand-buffers-files

commit cabf88eea5
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Mon Jul 19 00:19:52 2021 -0500

    removing duplcates when expanding buffers-files

commit b68d836562
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Sun Jul 18 23:49:54 2021 -0500

    Using completing-read-multiple for org-ql-view--complete-buffers-files

commit 06bdfc7a9e
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Sun Jul 4 23:32:08 2021 -0500

    Fn always promts for buffer/files; handle buffer obj and list

    Fn: org-ql-view--complete-buffers-files
    With buffers, org-ql-view--contract-buffers-files return the buffer
    name.
    When org-ql-view-buffers-files is a list, just dumpt it as a string
    and check if completion-read returns the same value, if so return the
    original value of org-ql-view-buffers-files

commit cc6e22dd30
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Sun Jul 4 23:31:31 2021 -0500

    Allow reading buffer names for buffers-or-names

commit 89b84768ad
Author: Ahmed Shariff <ahmed.shariff@live.com>
Date:   Sat Jul 3 21:25:10 2021 -0500

    Test cases for all org-ql-view--*-buffers-files functions

commit 7120b6334d
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Sat Jul 3 02:17:33 2021 -0500

    Refactor of org-ql-view--complete-buffers-files

    Handles the different values `org-ql-view-buffers-files` can hold.
    Use completing-read only if `org-ql-view-buffers-files` is nil or the
    contracted form of `org-ql-view-buffers-files` is a string.

commit 7b990e5275
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date:   Wed Jun 30 18:01:49 2021 -0500

    Fix for issue with initial-input in org-ql-view--complete-buffers-files
2022-11-20 21:43:22 -08:00
Adam Porter
e54ba0102c Add: (property) :inherit argument 2022-10-07 18:33:35 -05:00
Adam Porter
d7ada532c7 Add: Alias "c" to (category) 2022-08-19 03:38:43 -05:00
Adam Porter
7f4faff27b Add: (org-ql-refile) 2022-08-19 03:26:15 -05:00
Adam Porter
5f058b9eee Add: (org-ql-find-in-agenda, org-ql-find-in-org-directory) 2022-06-25 10:58:17 -05:00
Adam Porter
5768c685ad Remove: org-ql-find-heading, org-ql-find-path
These are virtually obsolete with the introduction of the "rifle"
predicate as the default one.  Having them now is just confusing.
2022-06-25 10:53:29 -05:00
Adam Porter
e22890ad04 Docs: Update changelog 2022-06-13 19:07:44 -05:00
Adam Porter
4f29bcfd67 Add: (rifle/smart) Predicate 2022-06-11 08:15:24 -05:00