Variable: ansi-osc-for-compilation-buffer
ansi-osc-for-compilation-buffer is a customizable variable defined in
ansi-osc.el.gz.
Value
filter
Documentation
What to do with OSC escape sequences in compilation output.
If nil, do nothing.
If the symbol filter, then filter out all OSC control sequences.
If any other non-nil value, then collect OSC control sequences
and call the appropriate handlers as described in ansi-osc-handlers.
In order for this to have any effect, ansi-osc-compilation-filter
must be in compilation-filter-hook.
This variable was added, or its default value changed, in Emacs 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/ansi-osc.el.gz
(defcustom ansi-osc-for-compilation-buffer 'filter
"What to do with OSC escape sequences in compilation output.
If nil, do nothing.
If the symbol `filter', then filter out all OSC control sequences.
If any other non-nil value, then collect OSC control sequences
and call the appropriate handlers as described in `ansi-osc-handlers'.
In order for this to have any effect, `ansi-osc-compilation-filter'
must be in `compilation-filter-hook'."
:type '(choice (const :tag "Do nothing" nil)
(const :tag "Filter out OSC" filter)
(other :tag "Translate OSC" t))
:group 'ansi-osc
:version "29.1")