Variable: embark-repeat-actions

embark-repeat-actions is a customizable variable defined in embark.el.

Value

(org-cycle-list-bullet org-outdent-item-tree org-indent-item-tree org-move-item-down org-move-item-up org-indent-item org-outdent-item org-previous-item org-next-item org-toggle-item org-toggle-checkbox org-babel-previous-src-block org-babel-next-src-block org-shifttab org-cycle org-shiftmetaright org-shiftmetaleft org-metadown org-metaup org-metaleft org-metaright org-todo org-previous-link org-next-link org-table-move-column-right org-table-move-column-left org-table-move-row-down org-table-move-row-up org-table-move-column org-table-move-row org-table-move-cell-right org-table-move-cell-left org-table-move-cell-down org-table-move-cell-up
		       (mark . region)
		       outline-next-visible-heading outline-previous-visible-heading outline-forward-same-level outline-backward-same-level outline-demote outline-promote outline-show-subtree
		       (outline-mark-subtree . region)
		       outline-move-subtree-up outline-move-subtree-down outline-up-heading outline-hide-subtree outline-cycle org-forward-heading-same-level org-backward-heading-same-level org-next-visible-heading org-previous-visible-heading org-demote-subtree org-promote-subtree org-show-subtree
		       (org-mark-subtree . region)
		       org-move-subtree-up org-move-subtree-down transpose-sexps transpose-sentences transpose-paragraphs flymake-goto-next-error flymake-goto-prev-error embark-next-symbol embark-previous-symbol backward-up-list backward-list forward-list forward-sexp backward-sexp forward-sentence backward-sentence forward-paragraph backward-paragraph smerge-refine smerge-combine-with-next smerge-prev smerge-next)

Documentation

List of repeatable actions.

When you use a command on this list as an Embark action from outside the minibuffer, embark-act does not exit but instead lets you act again on the possibly new target you reach.

By default, after using one of these actions, when embark-act looks for targets again, it will start the target cycle at the same type as the previously acted upon target; that is, you
"don't loose your place in the target cycle".

Sometimes, however, you'll want to prioritize a different type of target to continue acting on. The main example of this that if you use a marking command as an action, you almost always want to act on the region next. For those cases, in addition to commands, you can also place on this list a pair of a command and the desired starting type for the target cycle for the next action.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defcustom embark-repeat-actions
  '((mark . region)
    ;; outline commands
    outline-next-visible-heading outline-previous-visible-heading
    outline-forward-same-level outline-backward-same-level
    outline-demote outline-promote
    outline-show-subtree (outline-mark-subtree . region)
    outline-move-subtree-up outline-move-subtree-down
    outline-up-heading outline-hide-subtree outline-cycle
    ;; org commands (remapped outline commands)
    org-forward-heading-same-level org-backward-heading-same-level
    org-next-visible-heading org-previous-visible-heading
    org-demote-subtree org-promote-subtree
    org-show-subtree (org-mark-subtree . region)
    org-move-subtree-up org-move-subtree-down
    ;; transpose commands
    transpose-sexps transpose-sentences transpose-paragraphs
    ;; navigation commands
    flymake-goto-next-error flymake-goto-prev-error
    embark-next-symbol embark-previous-symbol
    backward-up-list backward-list forward-list forward-sexp
    backward-sexp forward-sentence backward-sentence
    forward-paragraph backward-paragraph
    ;; smerge commands
    smerge-refine smerge-combine-with-next smerge-prev smerge-next)
  "List of repeatable actions.
When you use a command on this list as an Embark action from
outside the minibuffer, `embark-act' does not exit but instead
lets you act again on the possibly new target you reach.

By default, after using one of these actions, when `embark-act'
looks for targets again, it will start the target cycle at the
same type as the previously acted upon target; that is, you
\"don't loose your place in the target cycle\".

Sometimes, however, you'll want to prioritize a different type of
target to continue acting on.  The main example of this that if
you use a marking command as an action, you almost always want to
act on the region next.  For those cases, in addition to
commands, you can also place on this list a pair of a command and
the desired starting type for the target cycle for the next
action."
  :type '(repeat (choice function
                         (cons function
                               (symbol :tag "Next target type")))))