dotfiles/emacs/.emacs.d/elpa/rg-20260823.1828/rg-autoloads.el

184 lines
6.6 KiB
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; rg-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 rg.el
(defvar rg-keymap-prefix "\3s" "\
Prefix for global `rg' keymap.")
(custom-autoload 'rg-keymap-prefix "rg" t)
(defvar rg-command-line-flags-function 'identity "\
Function to modify command line flags of a search.
The argument of the function is an optional list of search specific
command line flags and the function shall return a list of command
line flags to use.")
(autoload 'rg-define-toggle "rg" "\
Define a command line flag that can be toggled from the rg result buffer.
This will create a function with prefix \"rg-custom-toggle-flag-\"
concatenated with the FLAG name, stripped of any leading dashes. Flag
must be a form that will be evaluated to a string at macro expansion
time. For instance, if FLAG is \"--invert-match\" the function name
will be `rg-custom-toggle-flag-invert-match'. If the flag contains a
value that will be excluded from the function name.
Optional KEY is a key binding that is added to `rg-mode-map'. If the
optional DEFAULT parameter is non nil the flag will be enabled by default.
(fn FLAG &optional KEY DEFAULT)" nil t)
(autoload 'rg-enable-default-bindings "rg" "\
Enable the global `rg' default key bindings under PREFIX key.
If prefix is not supplied `rg-keymap-prefix' is used.
(fn &optional PREFIX)" t)
(autoload 'rg-use-old-defaults "rg" "\
Restore default settings pre version 2.0.0.")
(autoload 'rg-define-search "rg" "\
Define an rg search functions named NAME.
ARGS is a search specification that defines parameters of a search.
It optionally starts with a string that is used as the docstring for
the defined function. The rest of ARGS contains key value pairs
according to the specification below. All keys are optional with
specified default if left out.
:query Method for retrieving the search string. Allowed values
are `point' which means extract thing at point and `ask'
which means prompt the user for a string. Any form that
evaluates to a string is allowed.
Default is `ask'.
:format Specifies if :query is interpreted literally (`literal')
or as a regexp (`regexp'). If it is a form, eg.
(not `current-prefix-arg'), and is non-nil the :query is
interpreted literally, otherwise as a regexp.
Default is `regexp'.
:files Form that evaluates to a file alias or custom file glob.
`current' means extract alias from current buffer file name,
`ask' will prompt the user.
Default is `ask'.
:dir Root search directory. Allowed values are `ask' for user
prompt, `current' for current dir and `project' for project
root. Any form that evaluates to a directory string is
also allowed.
Default is `ask'.
:confirm `never', `always', or `prefix' are allowed values. Specifies
if the the final search command line string can be modified
and confirmed by the user.
Default is `never'.
:flags `ask' or a list of command line flags that will be used when
invoking the search.
:menu Bind the command into `rg-menu'. Must be a list with three
items in it. The first item is the description of the
group in which the new command will appear. If the group
does not exist a new will be created. The second item is
the key binding for this new command (ether a key vector
or a key description string) and the third item is the
description of the command that will appear in the menu.
Example:
(rg-define-search search-home-dir-in-elisp
\"Doc string.\"
:query ask
:format literal
:files \"elisp\"
:dir (getenv \"HOME\"))
:menu (\"Custom\" \"H\" \"Home dir\")
(fn NAME &rest ARGS)" nil t)
(function-put 'rg-define-search 'lisp-indent-function 'defun)
(autoload 'rg-project "rg.el" "" t)
(autoload 'rg-dwim-project-dir "rg.el" "" t)
(autoload 'rg-dwim-current-dir "rg.el" "" t)
(autoload 'rg-dwim-current-file "rg.el" "" t)
(autoload 'rg-dwim "rg" "\
Run ripgrep without user interaction figuring out the intention by magic(!).
The default magic searches for thing at point in files matching
current file under project root directory.
With \\[universal-argument] prefix (CURDIR), search is done in
current dir instead of project root.
With repeated \\[universal-argument] prefix, search is done in
the current dir and using the current variable `buffer-file-name'
as a pattern. Subdirectories are still searched, so different
files with the same name pattern still will be searched.
(fn &optional CURDIR)" t)
(autoload 'rg-literal "rg.el" "" t)
(autoload 'rg "rg.el" "" t)
(register-definition-prefixes "rg" '("kill-rg" "rg-"))
;;; Generated autoloads from rg-header.el
(register-definition-prefixes "rg-header" '("rg-"))
;;; Generated autoloads from rg-history.el
(register-definition-prefixes "rg-history" '("rg-history-"))
;;; Generated autoloads from rg-ibuffer.el
(autoload 'rg-list-searches "rg-ibuffer" "\
List all `rg-mode' buffers in `ibuffer'." t)
(register-definition-prefixes "rg-ibuffer" '("rg-"))
;;; Generated autoloads from rg-info-hack.el
(register-definition-prefixes "rg-info-hack" '("info-insert-file-contents"))
;;; Generated autoloads from rg-isearch.el
(autoload 'rg-isearch-current-file "rg-isearch.el" "" t)
(autoload 'rg-isearch-current-dir "rg-isearch.el" "" t)
(autoload 'rg-isearch-project "rg-isearch.el" "" t)
(autoload 'rg-isearch-menu "rg-isearch.el" "" t)
(register-definition-prefixes "rg-isearch" '("rg-get-isearch-string"))
;;; Generated autoloads from rg-menu.el
(autoload 'rg-menu "rg-menu.el" "" t)
(autoload 'rg-enable-menu "rg-menu" "\
Bind `rg-menu' to PREFIX key.
If prefix is not supplied `rg-keymap-prefix' is used.
(fn &optional PREFIX)" t)
(register-definition-prefixes "rg-menu" '("rg-menu-"))
;;; Generated autoloads from rg-result.el
(register-definition-prefixes "rg-result" '("rg-"))
;;; Generated autoloads from wgrep-rg.el
(autoload 'wgrep-rg-setup "wgrep-rg" "\
Setup wgrep rg support.")
(add-hook 'rg-mode-hook 'wgrep-rg-setup)
(register-definition-prefixes "wgrep-rg" '("wgrep-rg-"))
;;; End of scraped data
(provide 'rg-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; no-native-compile: t
;; coding: utf-8-emacs-unix
;; End:
;;; rg-autoloads.el ends here