Variable: eca-chat-fontify-debounce-interval
eca-chat-fontify-debounce-interval is a customizable variable defined
in eca-chat.el.
Value
0.15
Documentation
Idle delay in seconds before a deferred fontify runs during streaming.
Instead of calling font-lock-ensure on every streamed chunk,
eca-chat--render-content schedules it via an idle timer with this
delay. A single guaranteed font-lock-ensure always runs when the
response finishes, before table alignment.
When nil, no intermediate fontify is scheduled and the buffer is only fontified at end-of-stream (jit-lock still handles visible-area updates during streaming).
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defcustom eca-chat-fontify-debounce-interval 0.15
"Idle delay in seconds before a deferred fontify runs during streaming.
Instead of calling `font-lock-ensure' on every streamed chunk,
`eca-chat--render-content' schedules it via an idle timer with this
delay. A single guaranteed `font-lock-ensure' always runs when the
response finishes, before table alignment.
When nil, no intermediate fontify is scheduled and the buffer is
only fontified at end-of-stream (jit-lock still handles visible-area
updates during streaming)."
:type '(choice (const :tag "Disabled (final ensure only)" nil)
(number :tag "Seconds"))
:group 'eca)