Skip to content

Releases: alphapapa/org-ql

v0.8

21 Dec 23:17
v0.8
Compare
Choose a tag to compare

Additions

  • Function org-ql-completing-read, used by command org-ql-find, now specifies the completion category as org-heading, providing compatibility with Embark. (This is a powerful feature, as it means any org-ql-find result can be acted on from inside the search results with Embark, which provides common actions from Org Agenda and Org speed keys bindings.) (#299. Thanks to Omar Antolín Camarena, Daniel Mendler, and Akira Komamura.)
    • Command org-ql-completing-read-export, bound to C-c C-e or embark-export while in an org-ql-completing-read session, exits and shows an org-ql-view buffer for the current search.
  • Command org-ql-find may be called in an org-agenda or org-ql-view buffer to search the buffers which contributed to the agenda/view buffer.
  • Command org-ql-find-path, which searches outline paths in the current buffer.
  • Command org-ql-open-link, which finds links in entries matching the given query, and opens the selected one with org-open-at-point. (This is helpful when a collection of links are kept in Org files: rather than having to first visit the entry containing the desired link, then locate it within the entry, and then open it, the user can simply select the link and open it directly.)
  • Items in org-ql-view buffers now include the org-category text property, like Org Agenda buffers, which allows grouping with org-super-agenda's category-related selectors. (#363. Thanks to Gabriele Mongiano for reporting.)

Fixes

  • Predicate property correctly uses the value of org-use-property-inheritance when not specified. (#346, #356. Thanks to Bram Schoenmakers.)

Compatibility

  • Emacs 27.1 or later is now required.
  • Org v9.7's org-element API changes required some adjustments. (#364. Thanks to several users for reporting, and to Ihor Radchenko for his feedback.)

v0.7.3

24 Oct 00:00
v0.7.3
Compare
Choose a tag to compare

Fixes

  • Disable case-fold-search when collecting headings in outline paths. (Headings that started with a word that is also a to-do keyword but with different capitalization would be matched incorrectly.)
  • Saving of org-ql-view views. (#378. Thanks to Pentaquark1 for reporting.)
  • Command org-ql-find didn't move point to the selected entry. (#380. Thanks to Omar Antolín Camarena for reporting.)

v0.7.2

27 Sep 05:23
v0.7.2
Compare
Choose a tag to compare

Fixes

  • Timestamp predicates are more tolerant of partial input (e.g. preventing errors while the user is typing a query into org-ql-find).
  • Query parser ignores leading whitespace (e.g. preventing errors while the user is typing a query into org-ql-find).
  • Use of org-ql-find with :query-prefix argument prevented selection of results. (#351. Thanks to Daniel Fleischer for reporting.)
  • Handle narrowed buffers correctly in org-ql-find.
  • Warn about empty headings in org-ql-completing-read (the Org format allows a heading line to have no text, but it's useless for this purpose, and usually indicates unnoticed corruption).

v0.7.1

06 Sep 23:59
v0.7.1
Compare
Choose a tag to compare

Fixes

  • Function org-ql-completing-read is more compatible with default Emacs completion. (See #338. Thanks to arozbiz for reporting.)
  • Function org-ql-completing-read would sometimes stop updating with changes in input. (See #350. Thanks to Ankit Raj Pandey for reporting and fixing, and to Daniel Mendler for advising.)
  • In org-ql-completing-read, format links for display, and use org-entry-get internally rather than org-get-heading.

v0.7

10 Mar 12:27
0.7
Compare
Choose a tag to compare

Added

  • Commands org-ql-find, org-ql-find-heading, and org-ql-find-path, which jump to entries selected using Emacs's built-in completion facilities and Org QL queries (like helm-org-ql, but doesn't require Helm.).
  • Command org-ql-refile, which refiles the entry at point to one selected using Org QL completion.
  • Predicate rifle, which matches an entry if each of the given arguments is found in either the entry's contents or its outline path. This provides very intuitive results, mimicing the behavior of org-rifle. In fact, the results are so useful that it's now the default predicate for plain-string query tokens. (It is also aliased to smart, since it's so "smart," and not all users have used org-rifle.)
  • Option org-ql-default-predicate, applied to plain-string query tokens (before, the regexp predicate was always used, but now it may be customized).
  • Alias c for predicate category.
  • Predicate property now accepts the argument :inherit to match entries with property inheritance, and when unspecified, the option org-use-property-inheritance controls whether inheritance is used.
  • Predicate blocked. (Thanks to Akira Komamura.)

Changed

  • Give more useful error message for invalid queries.
  • Predicate src now matches case-insensitively.
  • Command org-ql-sparse-tree accepts both string and sexp queries. (Thanks to Akira Komamura.)

Fixed

  • Predicate link matches links whose descriptions contain escaped brackets (changed in Org 9.3). (Thanks to Daniel Borchmann for reporting.)
  • Predicate src's matching of begin/end block lines, normalization of arguments, and handling in non-sexp queries. (Thanks to Akira Komamura for reporting.)
  • Predicate src's behavior with various arguments.
  • Various compilation warnings.

Internal

  • Certain query predicates, when called multiple times in an and sub-expression, are optimized to a single call.
  • Use buffer-chars-modified-tick instead of buffer-modified-tick. (Thanks to Ihor Radchenko.)
  • Implemented tests for src predicate.

Credits

0.6.2

30 May 17:04
0.6.2
Compare
Choose a tag to compare
Release: 0.6.2

0.6.1

18 Mar 15:32
0.6.1
Compare
Choose a tag to compare
Release: 0.6.1

0.6

22 Sep 06:19
0.6
Compare
Choose a tag to compare
0.6
Release: 0.6

0.5.2

16 Jun 23:10
0.5.2
Compare
Choose a tag to compare
Release: 0.5.2

0.5

23 Nov 00:24
0.5
Compare
Choose a tag to compare
0.5
Release: 0.5