Variable: flymake-margin-indicators-string

flymake-margin-indicators-string is a customizable variable defined in flymake.el.gz.

Value

((error "‼" compilation-error) (warning "!" compilation-warning)
 (note "!" compilation-info))

Documentation

Strings used for margins indicators.

The value of each list may be a list of 3 elements where specifies the error type, the string to use and its face, or a list of 2 elements specifying only the error type and the corresponding string.

The option flymake-margin-indicator-position controls how and where this is used.

Note that the default value "DOUBLE EXCLAMATION MARK" for the indicator of the \+error type will be silently replaced by the ASCII equivalent if that character is not displayable by the terminal.

This variable was added, or its default value changed, in Emacs 30.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defcustom flymake-margin-indicators-string
  '((error "‼" compilation-error)
    (warning "!" compilation-warning)
    (note "!" compilation-info))
  "Strings used for margins indicators.
The value of each list may be a list of 3 elements where specifies the
error type, the string to use and its face,
or a list of 2 elements specifying only the error type and
the corresponding string.

The option `flymake-margin-indicator-position' controls how and where
this is used.

Note that the default value \"DOUBLE EXCLAMATION MARK\" for the
indicator of the \\+`error' type will be silently replaced by the
ASCII equivalent if that character is not displayable by the terminal."
  :version "30.1"
  :type '(repeat :tag "Error types lists"
                 (list :tag "String and face for error types"
                       (symbol :tag "Error type")
                       (string :tag "String")
                       (face :tag "Face"))))