GNU ELPA - flymake

flymake

Description
A universal on-the-fly syntax checker
Latest
flymake-1.3.7.tar (.sig), 2023-Oct-26, 90.0 KiB
Maintainer
João Távora <joaotavora@gmail.com>
Website
https://elpa.gnu.org/packages/flymake.html
Browse repository
CGit or Gitweb
Badge

To install this package from Emacs, use list-packages.

Full description

Flymake is a minor Emacs mode performing on-the-fly syntax checks.

Flymake collects diagnostic information for multiple sources,
called backends, and visually annotates the relevant portions in
the buffer.

This file contains the UI for displaying and interacting with the
results produced by these backends, as well as entry points for
backends to hook on to.

The main interactive entry point is the `flymake-mode' minor mode,
which periodically and automatically initiates checks as the user
is editing the buffer.  The variables `flymake-no-changes-timeout',
`flymake-start-on-flymake-mode' give finer control over the events
triggering a check, as does the interactive command  `flymake-start',
which immediately starts a check.

Shortly after each check, a summary of collected diagnostics should
appear in the mode-line.  If it doesn't, there might not be a
suitable Flymake backend for the current buffer's major mode, in
which case Flymake will indicate this in the mode-line.  The
indicator will be `!' (exclamation mark), if all the configured
backends errored (or decided to disable themselves) and `?'
(question mark) if no backends were even configured.

For programmers interested in writing a new Flymake backend, the
docstring of `flymake-diagnostic-functions', the Flymake manual, and the
code of existing backends are probably good starting points.

The user wishing to customize the appearance of error types should
set properties on the symbols associated with each diagnostic type.
The standard diagnostic symbols are `:error', `:warning' and
`:note' (though a specific backend may define and use more).  The
following properties can be set:

* `flymake-bitmap', an image displayed in the fringe according to
`flymake-fringe-indicator-position'.  The value actually follows
the syntax of `flymake-error-bitmap' (which see).  It is overridden
by any `before-string' overlay property.

* `flymake-severity', a non-negative integer specifying the
diagnostic's severity.  The higher, the more serious.  If the
overlay property `priority' is not specified, `severity' is used to
set it and help sort overlapping overlays.

* `flymake-overlay-control', an alist ((OVPROP . VALUE) ...) of
further properties used to affect the appearance of Flymake
annotations.  With the exception of `category' and `evaporate',
these properties are applied directly to the created overlay.  See
Info Node `(elisp)Overlay Properties'.

* `flymake-category', a symbol whose property list is considered a
default for missing values of any other properties.  This is useful
to backend authors when creating new diagnostic types that differ
from an existing type by only a few properties.  The category
symbols `flymake-error', `flymake-warning' and `flymake-note' make
good candidates for values of this property.

For instance, to omit the fringe bitmap displayed for the standard
`:note' type, set its `flymake-bitmap' property to nil:

  (put :note 'flymake-bitmap nil)

To change the face for `:note' type, add a `face' entry to its
`flymake-overlay-control' property.

  (push '(face . highlight) (get :note 'flymake-overlay-control))

If you push another alist entry in front, it overrides the previous
one.  So this effectively removes the face from `:note'
diagnostics.

  (push '(face . nil) (get :note 'flymake-overlay-control))

To erase customizations and go back to the original look for
`:note' types:

  (cl-remf (symbol-plist :note) 'flymake-overlay-control)
  (cl-remf (symbol-plist :note) 'flymake-bitmap)

Old versions

flymake-1.3.6.tar.lz2023-Sep-2219.7 KiB
flymake-1.3.4.tar.lz2023-Apr-1318.9 KiB
flymake-1.3.3.tar.lz2023-Apr-1218.4 KiB
flymake-1.3.2.tar.lz2023-Apr-1118.3 KiB
flymake-1.2.2.tar.lz2022-Feb-1018.0 KiB
flymake-1.2.1.tar.lz2021-Sep-1418.0 KiB
flymake-1.1.1.tar.lz2021-Mar-0914.7 KiB
flymake-1.0.9.el.lz2020-Jul-0914.2 KiB
flymake-1.0.8.el.lz2019-Jul-0413.9 KiB
flymake-1.0.6.el.lz2019-May-0513.8 KiB
flymake-1.0.5.el.lz2019-Feb-1013.7 KiB
flymake-1.0.3.el.lz2018-Dec-1313.4 KiB
flymake-1.0.2.el.lz2018-Dec-0613.3 KiB
flymake-1.0.1.el.lz2018-Dec-0513.3 KiB