diff --git a/README.org b/README.org index c91c9d5..00b41c1 100644 --- a/README.org +++ b/README.org @@ -464,6 +464,7 @@ It would be expanded to: Org QL provides a dynamic block that lists entries in the current document matching a query. In the header, these parameters are supported: ++ ~:file~: Any file that works in other org-ql queries, like `org-agenda-files'. Default value: current-buffer + ~:query~: An Org QL query expression in either sexp or non-sexp form. + ~:columns~ A list of columns, including ~heading~, ~todo~, ~property~, ~priority~, ~deadline~, ~scheduled~. - Each column may also be specified as a list with the second element being a header string. For example, to abbreviate the priority column: ~(priority "P")~. @@ -479,7 +480,7 @@ For example, this dynamic block shows the first seven headings that are to-do it # NOTE: These results are edited manually because the Org links don't display well in the Info manual. #+BEGIN_SRC org - ,#+BEGIN: org-ql :query "todo: priority:A,B" :columns (todo (priority "P") ((property "agenda-group") "Group") deadline heading) :sort (deadline priority) :take 7 :ts-format "%Y-%m-%d %H:%M" + ,#+BEGIN: org-ql :query "todo: priority:A,B" :columns (todo (priority "P") ((property "agenda-group") "Group") deadline heading) :sort (deadline priority) :take 7 :ts-format "%Y-%m-%d %H:%M" :file org-agenda-files | Todo | P | Group | Deadline | Heading | |------+---+-------+------------------+---------------------------------------| | TODO | A | | 2017-07-07 00:00 | Take over the world |