]> git.eshelyaron.com Git - emacs.git/commit
Flymake support for indicating errors in margin
authorElias G. B. Perez <eg642616@gmail.com>
Sat, 6 Apr 2024 19:57:30 +0000 (13:57 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:05:50 +0000 (14:05 +0300)
commit0e0e79c3f021dd69b1688e400bb3d8b49499ed7e
treec05ffec7f5f3e98a067f91ff3002dd966e360eb3
parentb74ea34742a3659dcbd73a98a835d948c2a67f5c
Flymake support for indicating errors in margin

Add optional support for display flymake error in margin,
this allow displaying error indicators in both graphical and
terminal frames.
* doc/misc/flymake.texi (Customizable variables)
(Flymake error types): Document new margin indicator.
* etc/NEWS: Announce the new Flymake user option for margin
indicators.
* lisp/progmodes/flymake.el (flymake-indicator-type)
(flymake-margin-indicators-string, flymake-autoresize-margins)
(flymake-margin-indicator-position): New user options.
(flymake--original-margin-width): Add buffer-local variable for
store original buffer margin width.
(flymake-error, flymake-warning, flymake-note): Use new margin
value.
(flymake--indicator-overlay-spec): Rework and Rename from
flymake--fringe-overlay-spec.
(flymake--resize-margins): Add new function for resize margin
width.
(flymake--highlight-line, flymake-mode): Rework.

(cherry picked from commit 3c4f6c78b4b2ae0b1efadf5e664fa180e663037e)
doc/misc/flymake.texi
etc/NEWS
lisp/progmodes/flymake.el