diff --git a/README.org b/README.org index d33bd47..1d6622d 100644 --- a/README.org +++ b/README.org @@ -413,6 +413,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience + Face =org-ql-agenda-due-date=. + Selectors ~(children)~ and ~(descendants)~. + Function ~org-ql-search~ and macro ~org-ql-agenda~ accept a ~:title~ argument, which is displayed in the header. ++ Command ~org-ql-search~ offers global ~org-super-agenda-groups~ in completion. *Changed* + Function ~org-ql-query~ renamed to ~org-ql-select~. ~org-ql-query~ now refers to a new function. diff --git a/org-ql-agenda.el b/org-ql-agenda.el index 84b5ef4..54644a1 100644 --- a/org-ql-agenda.el +++ b/org-ql-agenda.el @@ -177,8 +177,10 @@ TITLE: An optional string displayed in the header." :narrow (eq current-prefix-arg '(4)) :groups (pcase (completing-read "Group by: " (cons "Don't group" + "Global groups" (cl-loop for type in org-super-agenda-auto-selector-keywords collect (substring (symbol-name type) 6)))) + ("Global groups" org-super-agenda-groups) ("Don't group" nil) (property (list (list (intern (concat ":auto-" property)))))) :sort (pcase (completing-read "Sort by: "