Flymake is a universal on-the-fly syntax checker for Emacs. When enabled, Flymake contacts one or more source backends to collect information about problems in the buffer, called diagnostics, and visually annotates them with a special face. The mode line displays overall status including totals for different types of diagnostics.
To learn about using Flymake, see Using Flymake.
When the Emacs LSP support mode Eglot is enabled, Flymake will use that as an additional back-end. See Eglot Features in Eglot: The Emacs LSP Client Flymake is also designed to be easily extended to support new backends via an Elisp interface. See Extending Flymake.
Historically, Flymake used to accept diagnostics from a single backend. Although obsolete, it is still functional. To learn how to use and customize it, see The legacy “Proc” backend.
This manual is for GNU Flymake (version 1.2.2, November 2021).
Copyright © 2004–2024 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License”.
(a) The FSF’s Back-Cover Text is: “You have the freedom to copy and modify this GNU manual.”