;;; org-ql-autoloads.el --- automatically extracted autoloads (do not edit)   -*- lexical-binding: t -*-
;; Generated by the `loaddefs-generate' function.

;; This file is part of GNU Emacs.

;;; Code:

(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))



;;; Generated autoloads from org-ql.el

(autoload 'org-ql-select "org-ql" "\
Return items matching QUERY in BUFFERS-OR-FILES.

BUFFERS-OR-FILES is a file or buffer, a list of files and/or
buffers, or a function which returns such a list.

QUERY is an `org-ql' query sexp (quoted, since this is a
function).

ACTION is a function which is called on each matching entry with
point at the beginning of its heading.  It may be:

- `element' or nil: Equivalent to `org-element-headline-parser'.

- `element-with-markers': Equivalent to calling
  `org-element-headline-parser', with markers added using
  `org-ql--add-markers'.  Suitable for formatting with
  `org-ql-view--format-element', allowing insertion into an Org
  Agenda-like buffer.

- A sexp, which will be byte-compiled into a lambda function.

- A function symbol.

If NARROW is non-nil, buffers are not widened (the default is to
widen and search the entire buffer).

SORT is either nil, in which case items are not sorted; or one or
a list of defined `org-ql' sorting methods (`date', `deadline',
`scheduled', `closed', `todo', `priority', `reverse', or `random'); or a
user-defined comparator function that accepts two items as
arguments and returns nil or non-nil.  Sorting methods are
applied in the order given (i.e. later methods override earlier
ones), and `reverse' may be used more than once.

For example, `(date priority)' would present items with the
highest priority first, and within each priority the oldest items
would appear first.  In contrast, `(date reverse priority)' would
also present items with the highest priority first, but within
each priority the newest items would appear first.

(fn BUFFERS-OR-FILES QUERY &key ACTION NARROW SORT)")
(function-put 'org-ql-select 'lisp-indent-function 'defun)
(autoload 'org-ql-query "org-ql" "\
Like `org-ql-select', but arguments are named more like a SQL query.

SELECT corresponds to the `org-ql-select' argument ACTION.  It is
the function called on matching headings, the results of which
are returned by this function.  It may be:

- `element' or nil: Equivalent to `org-element-headline-parser'.

- `element-with-markers': Equivalent to
  `org-element-headline-parser', with markers added using
  `org-ql--add-markers'.  Suitable for formatting with
  `org-ql-view--format-element', allowing insertion into an Org
  Agenda-like buffer.

- A sexp, which will be byte-compiled into a lambda function.

- A function symbol.

FROM corresponds to the `org-ql-select' argument BUFFERS-OR-FILES.
It may be one or a list of file paths and/or buffers.

WHERE corresponds to the `org-ql-select' argument QUERY.  It
should be an `org-ql' query sexp.

ORDER-BY corresponds to the `org-ql-select' argument SORT, which
see.

NARROW corresponds to the `org-ql-select' argument NARROW.

(fn &key (SELECT \\='element-with-markers) FROM WHERE NARROW ORDER-BY)")
(function-put 'org-ql-query 'lisp-indent-function 0)
(register-definition-prefixes "org-ql" '("org-ql-"))


;;; Generated autoloads from org-ql-completing-read.el

(autoload 'org-ql-completing-read "org-ql-completing-read" "\
Return marker at entry in BUFFERS-FILES selected with `org-ql'.
PROMPT is shown to the user.

NARROWP is passed to `org-ql-select', which see.

QUERY-PREFIX may be a string to prepend to the query entered by
the user (e.g. use \"heading:\" to only search headings, easily
creating a custom command that saves the user from having to type
it).

QUERY-FILTER may be a function through which the query the user
types is filtered before execution (e.g. it could replace spaces
with commas to turn multiple tokens, which would normally be
treated as multiple predicates, into multiple arguments to a
single predicate).

(fn BUFFERS-FILES &key QUERY-PREFIX QUERY-FILTER NARROWP (ACTION #\\='org-ql-completing-read-action) (SNIPPET #\\='org-ql-completing-read-snippet) (PATH #\\='org-ql-completing-read-path) (ACTION-FILTER #\\='list) (PROMPT \"Find entry: \"))")
(function-put 'org-ql-completing-read 'lisp-indent-function 'defun)
(register-definition-prefixes "org-ql-completing-read" '("org-ql-completing-read-"))


;;; Generated autoloads from org-ql-find.el

(autoload 'org-ql-find "org-ql-find" "\
Go to an Org entry in BUFFERS-FILES selected by searching entries with `org-ql'.
Interactively, search the buffers and files relevant to the
current buffer (i.e. in `org-agenda-mode', the value of
`org-ql-view-buffers-files' or `org-agenda-contributing-files';
in `org-mode', that buffer).

With one or more universal prefix arguments, WIDEN buffers before
searching (otherwise, respect any narrowing).  With two universal
prefix arguments, select multiple buffers to search with
completion and PROMPT.

QUERY-PREFIX may be a string to prepend to the query (e.g. use
\"heading:\" to only search headings, easily creating a custom
command that saves the user from having to type it).

QUERY-FILTER may be a function through which the query the user
types is filtered before execution (e.g. it could replace spaces
with commas to turn multiple tokens, which would normally be
treated as multiple predicates, into multiple arguments to a
single predicate).

(fn BUFFERS-FILES &key QUERY-PREFIX QUERY-FILTER WIDEN (PROMPT \"Find entry: \"))" t)
(autoload 'org-ql-refile "org-ql-find" "\
Refile current entry to MARKER (interactively, one selected with `org-ql').
Interactive completion uses files listed in `org-refile-targets',
which see (but only the files are used).

(fn MARKER)" t)
(autoload 'org-ql-find-in-agenda "org-ql-find" "\
Call `org-ql-find' on `org-agenda-files'." t)
(autoload 'org-ql-find-in-org-directory "org-ql-find" "\
Call `org-ql-find' on files in `org-directory'." t)
(autoload 'org-ql-find-path "org-ql-find" "\
Call `org-ql-find' to search outline paths in BUFFERS-FILES.
Interactively, search the buffers and files relevant to the
current buffer (i.e. in `org-agenda-mode', the value of
`org-ql-view-buffers-files' or `org-agenda-contributing-files';
in `org-mode', that buffer).  With universal prefix, select
multiple buffers to search with completion and PROMPT.

(fn BUFFERS-FILES)" t)
(autoload 'org-ql-open-link "org-ql-find" "\
Open a link selected with `org-ql-completing-read'.
Links found in entries matching the input query are offered as
candidates, and the selected one is opened with
`org-open-at-point'.  Arguments BUFFERS-FILES, QUERY-FILTER,
QUERY-PREFIX, and PROMPT are passed to `org-ql-completing-read',
which see.

Interactively, search the buffers and files relevant to the
current buffer (i.e. in `org-agenda-mode', the value of
`org-ql-view-buffers-files' or `org-agenda-contributing-files';
in `org-mode', that buffer).  With universal prefix, select
multiple buffers to search with completion and PROMPT.

(fn BUFFERS-FILES &key QUERY-PREFIX QUERY-FILTER (PROMPT \"Open link: \"))" t)
(register-definition-prefixes "org-ql-find" '("org-ql-find-"))


;;; Generated autoloads from org-ql-search.el

(autoload 'org-ql-sparse-tree "org-ql-search" "\
Show a sparse tree for QUERY in BUFFER and return number of results.
The tree will show the lines where the query matches, and any
other context defined in `org-show-context-detail', which see.

QUERY is an `org-ql' query in either sexp or string form (see
Info node `(org-ql)Queries').

When KEEP-PREVIOUS is non-nil (interactively, with prefix), the
outline is not reset to the overview state before finding
matches, which allows stacking calls to this command.

Runs `org-occur-hook' after making the sparse tree.

(fn QUERY &key KEEP-PREVIOUS (BUFFER (current-buffer)))" t)
(autoload 'org-ql-search "org-ql-search" "\
Search for QUERY with `org-ql'.
Interactively, prompt for these variables:

BUFFERS-FILES: A list of buffers and/or files to search.
Interactively, may also be:

- `buffer': search the current buffer
- `all': search all Org buffers
- `agenda': search buffers returned by the function `org-agenda-files'
- `directory': search Org files in `org-directory'
- A space-separated list of file or buffer names

QUERY: An `org-ql' query in either sexp or non-sexp form (see
Info node `(org-ql)Queries').

SUPER-GROUPS: An `org-super-agenda' group set.  See variable
`org-super-agenda-groups' and Info node `(org-super-agenda)Group
selectors'.

NARROW: When non-nil, don't widen buffers before
searching.  Interactively, with prefix, leave narrowed.

SORT: One or a list of `org-ql' sorting functions, like `date' or
`priority' (see Info node `(org-ql)Listing / acting-on results').

TITLE: An optional string displayed in the header.

BUFFER: Optionally, a buffer or name of a buffer in which to
display the results.  By default, the value of
`org-ql-view-buffer' is used, and a new buffer is created if
necessary.

(fn BUFFERS-FILES QUERY &key NARROW SUPER-GROUPS SORT TITLE (BUFFER org-ql-view-buffer))" t)
(function-put 'org-ql-search 'lisp-indent-function 'defun)
(autoload 'org-ql-search-block "org-ql-search" "\
Insert items for QUERY into current buffer.
QUERY should be an `org-ql' query form.  Intended to be used as a
user-defined function in `org-agenda-custom-commands'.  QUERY
corresponds to the `match' item in the custom command form.

Like other agenda block commands, it searches files returned by
function `org-agenda-files'.  Inserts a newline after the block.

If `org-ql-block-header' is non-nil, it is used as the header
string for the block, otherwise a the header is formed
automatically from the query.

(fn QUERY)")
(defalias 'org-ql-block 'org-ql-search-block)
(register-definition-prefixes "org-ql-search" '("org-ql-"))


;;; Generated autoloads from org-ql-view.el

(autoload 'org-ql-view "org-ql-view" "\
Choose and display the `org-ql-views' view NAME.
Interactively, prompt for NAME.

(fn &optional NAME)" t)
(autoload 'org-ql-view-recent-items "org-ql-view" "\
Show items in FILES from last NUM-DAYS days with timestamps of TYPE.
TYPE may be `ts', `ts-active', `ts-inactive', `clocked', or
`closed'.

(fn &key NUM-DAYS (TYPE \\='ts) (FILES (org-agenda-files)) (GROUPS \\='((:auto-parent t) (:auto-todo t))))" t)
(autoload 'org-ql-view-sidebar "org-ql-view" "\
Show `org-ql-view' view list sidebar.
SLOT is passed to `display-buffer-in-side-window', which see.

(fn &key (SLOT org-ql-view-list-slot))" t)
(autoload 'org-ql-view-bookmark-handler "org-ql-view" "\
Show Org QL View BOOKMARK in current buffer.

(fn BOOKMARK)")
(register-definition-prefixes "org-ql-view" '("org-ql-view"))

;;; End of scraped data

(provide 'org-ql-autoloads)

;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; no-native-compile: t
;; coding: utf-8-emacs-unix
;; End:

;;; org-ql-autoloads.el ends here
