Function: combobulate-cursor-edit-query

combobulate-cursor-edit-query is an interactive and natively compiled function defined in combobulate-cursor.el.

Signature

(combobulate-cursor-edit-query)

Documentation

Edit clusters of nodes by query.

Uses the head of the ring combobulate-query-ring as the query. If the ring is empty, then throw an error.

By default, point is placed at the start of each match. When called with one prefix argument, place point at the end of the matches. With two prefix arguments, mark the node instead.

Key Bindings

combobulate-cursor-edit-key-map q combobulate-key-map C-c o t q combobulate-options-key-map t q

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-cursor.el
(defun combobulate-cursor-edit-query ()
  "Edit clusters of nodes by query.

Uses the head of the ring `combobulate-query-ring' as the
query. If the ring is empty, then throw an error.

By default, point is placed at the start of each match. When
called with one prefix argument, place point at the end of the
matches. With two prefix arguments, mark the node instead."
  (interactive)
  (combobulate-query-ring--execute
   "Edit nodes matching this query?"
   "Placed cursors"
   (lambda (matches _query)
     (combobulate-cursor-edit-nodes matches))))