Variable: eca-chat--prompt-boundary-guard-commands

eca-chat--prompt-boundary-guard-commands is a variable defined in eca-chat.el.

Value

(delete-backward-char backward-delete-char
		      backward-delete-char-untabify backward-kill-word
		      evil-delete-backward-word
		      evil-delete-back-to-indentation
		      evil-delete-backward-char)

Documentation

Backward-deleting commands blocked at the prompt-field start.

At the start itself, eca-chat--key-pressed-deletion dings only for these commands (and for a negative delete count). Forward deletions there - delete-char with a positive count, as used by evil-invert-char (~), evil-replace (r), evil-delete-char (x) and evil-substitute (s) - remove the first prompt character and fall through to the wrapped command. Above the prompt field the guard is unconditional, except on the context line, which is editable and protected by eca-chat--apply-within-context-line.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defconst eca-chat--prompt-boundary-guard-commands
  '(delete-backward-char
    backward-delete-char
    backward-delete-char-untabify
    backward-kill-word
    evil-delete-backward-word
    evil-delete-back-to-indentation
    evil-delete-backward-char)
  "Backward-deleting commands blocked at the prompt-field start.
At the start itself, `eca-chat--key-pressed-deletion' dings only for
these commands (and for a negative delete count).  Forward deletions
there - `delete-char' with a positive count, as used by
`evil-invert-char' (~), `evil-replace' (r), `evil-delete-char' (x) and
`evil-substitute' (s) - remove the first prompt character and fall
through to the wrapped command.  Above the prompt field the guard is
unconditional, except on the context line, which is editable and
protected by `eca-chat--apply-within-context-line'.")