Skip to content

Commit 84a87ac

Browse files
committed
Merge: 0.6.1
2 parents af18eac + e3a81bf commit 84a87ac

File tree

4 files changed

+104
-85
lines changed

4 files changed

+104
-85
lines changed

README.org

+5
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,11 @@ Simple links may also be written manually in either sexp or non-sexp form, like:
527527
*Fixed*
528528
+ In dynamic blocks, links to headings with statistics cookies were broken. (Fixes [[https://github.com/alphapapa/org-ql/issues/248][#248]]. Thanks to [[https://github.com/maikol-solis][Maikol Solis]] and [[https://github.com/yantar92][Ihor Radchenko]].)
529529

530+
** 0.6.1
531+
532+
*Updated*
533+
+ Compatibility with new macro names in Transient. ([[https://github.com/alphapapa/org-ql/pull/269][#269]]. Thanks to [[https://github.com/tarsius][Jonas Bernoulli]].)
534+
530535
** 0.6
531536

532537
*Added*

helm-org-ql.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
;; Author: Adam Porter <[email protected]>
44
;; URL: https://github.com/alphapapa/org-ql
5-
;; Version: 0.6
5+
;; Version: 0.6.1
66
;; Package-Requires: ((emacs "26.1") (dash "2.18.1") (s "1.12.0") (helm-org "1.0") (org-ql "0.6-pre"))
77

88
;;; Commentary:

org-ql-view.el

+6-6
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ When opened, the link searches the buffer it's opened from."
718718
(unless (or value transient--prefix)
719719
(message "Unset %s" variable))))
720720

721-
(define-transient-command org-ql-view-dispatch ()
721+
(transient-define-prefix org-ql-view-dispatch ()
722722
"Show Org QL View dispatcher."
723723
[["Edit"
724724
("t" org-ql-view--transient-title)
@@ -753,7 +753,7 @@ When opened, the link searches the buffer it's opened from."
753753
org-ql-view--format-query
754754
(org-ql-view--font-lock-string 'emacs-lisp-mode)))))
755755

756-
(define-infix-command org-ql-view--transient-title ()
756+
(transient-define-infix org-ql-view--transient-title ()
757757
;; TODO: Add an asterisk or something when the view has been modified but not saved.
758758
:description (lambda () (org-ql-view--format-transient-key-value "Title" org-ql-view-title))
759759
:class 'org-ql-view--variable
@@ -766,7 +766,7 @@ When opened, the link searches the buffer it's opened from."
766766
(format "%s" org-ql-view-title))
767767
history)))
768768

769-
(define-infix-command org-ql-view--transient-query ()
769+
(transient-define-infix org-ql-view--transient-query ()
770770
:description (lambda () (org-ql-view--format-transient-lisp-argument "Query" org-ql-view-query))
771771
:class 'org-ql-view--variable
772772
:argument ""
@@ -784,7 +784,7 @@ When opened, the link searches the buffer it's opened from."
784784
;; Parse non-sexp query into sexp query.
785785
(org-ql--query-string-to-sexp query)))))
786786

787-
(define-infix-command org-ql-view--transient-in ()
787+
(transient-define-infix org-ql-view--transient-in ()
788788
:description (lambda () (org-ql-view--format-transient-lisp-argument "In buffers/files" org-ql-view-buffers-files))
789789
:class 'org-ql-view--variable
790790
:argument ""
@@ -795,7 +795,7 @@ When opened, the link searches the buffer it's opened from."
795795
;; argument, but it gives the same result.
796796
(org-ql-view--complete-buffers-files)))
797797

798-
(define-infix-command org-ql-view--transient-super-groups ()
798+
(transient-define-infix org-ql-view--transient-super-groups ()
799799
:description (lambda ()
800800
(org-ql-view--format-transient-lisp-argument "Group by" org-ql-view-super-groups))
801801
:class 'org-ql-view--variable
@@ -806,7 +806,7 @@ When opened, the link searches the buffer it's opened from."
806806
;; FIXME: Figure out how to integrate initial-input and history.
807807
(org-ql-view--complete-super-groups)))
808808

809-
(define-infix-command org-ql-view--transient-sort ()
809+
(transient-define-infix org-ql-view--transient-sort ()
810810
:description
811811
(lambda ()
812812
(org-ql-view--format-transient-lisp-argument "Sort by" (or org-ql-view-sort 'buffer-order)))

0 commit comments

Comments
 (0)