1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/doc
João Távora d45f450cff Flymake: add new flymake-show-diagnostics-at-end-of-line option
Some editors have this.  Depending on your preference, this can either
be wildly distracting and easily confused with actual code, or a
significant early aid that relieves you from moving around or reaching
for the mouse to consult an error message.  To be safe, hide this
behind a customization variable and keep it disabled.

Personally, I find it less obstrusive and more helpful than expected.

* lisp/progmodes/flymake.el (flymake--delete-overlay): New helper.
(flymake--highlight-line): Handle flymake-show-diagnostics-at-end-of-line.
(flymake--clear-foreign-diags): Use flymake--delete-overlay.
(flymake--publish-diagnostics): Use flymake--delete-overlay.
(flymake-mode): Use flymake--delete-overlay.
(flymake-error-echo)
(flymake-warning-echo, flymake-note-echo): New faces.
(flymake-show-diagnostics-at-end-of-line): New option.
(Version): Bump to 1.3.4

* doc/misc/flymake.texi:
(Finding diagnostics): Mention flymake-show-diagnostics-at-end-of-line.
(Customizable variables): Mention
flymake-show-diagnostics-at-end-of-line and a few more relevant faces.

* etc/NEWS (Flymake): Mention flymake-show-diagnostics-at-end-of-line.
2023-04-13 17:42:37 +01:00
..
emacs Merge from origin/emacs-29 2023-04-06 14:38:20 -04:00
lispintro ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
lispref Update manual about sort 2023-04-10 11:45:09 +02:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc Flymake: add new flymake-show-diagnostics-at-end-of-line option 2023-04-13 17:42:37 +01:00