Function: verb-mode
verb-mode is an interactive and natively compiled function defined in
verb.el.
Signature
(verb-mode &optional ARG)
Documentation
Minor mode for organizing and making HTTP requests from Emacs.
This mode acts as an extension to Org mode. Make sure you enable it on buffers using Org as their major mode.
See the documentation in URL https://github.com/federicotdn/verb for more details on how to use it.
This is a minor mode. If called interactively, toggle the Verb mode
mode. If the prefix argument is positive, enable the mode, and if it is
zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate the variable verb-mode(var)/verb-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
;;;###autoload
(define-minor-mode verb-mode
"Minor mode for organizing and making HTTP requests from Emacs.
This mode acts as an extension to Org mode. Make sure you enable it
on buffers using Org as their major mode.
See the documentation in URL `https://github.com/federicotdn/verb' for
more details on how to use it."
:lighter " Verb"
:group 'verb
(if verb-mode
;; Enable verb-mode.
(progn
(verb--setup-font-lock-keywords)
(when verb-enable-elisp-completion
(add-hook 'completion-at-point-functions
#'verb-elisp-completion-at-point
nil 'local))
(when verb-enable-ctrl-c-ctrl-c
(add-hook 'org-ctrl-c-ctrl-c-final-hook
#'verb-ctrl-c-ctrl-c-context-behavior
nil 'local))
(add-hook 'post-command-hook #'verb--var-preview nil t)
(when (buffer-file-name)
(verb-util--log nil 'I
"Verb mode enabled in buffer: %s"
(buffer-name))
(verb-util--log nil 'I "Verb version: %s" verb-version)
(verb-util--log nil 'I "Org version: %s, GNU Emacs version: %s"
(org-version)
emacs-version)))
;; Disable verb-mode.
(verb--setup-font-lock-keywords t)
(remove-hook 'completion-at-point-functions
#'verb-elisp-completion-at-point
'local)))