Variable: flymake-inline-diagnostics

flymake-inline-diagnostics is a customizable variable defined in flymake.el.gz.

Value

nil

Documentation

How Flymake styles diagnostic text in the buffer itself.

The following values designating styles are possible:

- nil: no diagnostic info is added in the buffer;
- eol: diagnostic information is shown at the end of line;
- short: like eol but only the most severe diagnostic is considered;
- fancy: layout diagnostic information below the affected line with
  Unicode graphics.
- An alist ((WHERE . HOW) ...) where WHERE is current, current-line
  or t. current selects the style for diagnostics that point is on;
  current-line selects the style used for diagnostic on the same line
  as point; and t selects the style used for every other diagnostic. If
  both current and current-line are given, current takes
  precedence. HOW is one of the symbols above.

Regardless of styles, see variable flymake-diagnostic-format-alist for exactly which elements of information are included for each possibility.

This variable was added, or its default value changed, in Flymake version 1.4.5.

Probably introduced at or before Emacs version 32.1.

Aliases

flymake-show-diagnostics-at-end-of-line (obsolete since 32.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defcustom flymake-inline-diagnostics nil
  "How Flymake styles diagnostic text in the buffer itself.

The following values designating styles are possible:

- `nil': no diagnostic info is added in the buffer;
- `eol': diagnostic information is shown at the end of line;
- `short': like `eol' but only the most severe diagnostic is considered;
- `fancy': layout diagnostic information below the affected line with
  Unicode graphics.
- An alist ((WHERE . HOW) ...) where WHERE is `current', `current-line'
  or t.  `current' selects the style for diagnostics that point is on;
  `current-line' selects the style used for diagnostic on the same line
  as point; and t selects the style used for every other diagnostic.  If
  both `current' and `current-line' are given, `current' takes
  precedence.  HOW is one of the symbols above.

Regardless of styles, see variable `flymake-diagnostic-format-alist' for
exactly which elements of information are included for each possibility."
  :type
  '(choice
    (const :tag "No inline diagnostics" nil)
    (const :tag "All diagnostics inlined at end of line" eol)
    (const :tag "Most severe diagnostic inlined at end of line" short)
    (const :tag "All diagnostics laid out with Unicode graphics" fancy)
    (alist
     :tag "Different inlining styles depending on situation"
     :key-type (choice (const :tag "Diagnostics near point" current)
                       (const :tag "Diagnostics on current line" current-line)
                       (const :tag "Every other diagnostic" t))
     :value-type (choice (const :tag "No inline diagnostics" nil)
                         (const :tag "All diagnostics" eol)
                         (const :tag "Only the most severe" short)
                         (const :tag "Fancy Unicode graphics" fancy))))
  :package-version '(Flymake . "1.4.5"))