aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorJoão Távora2023-03-02 22:55:31 +0000
committerJoão Távora2023-04-13 17:42:37 +0100
commitd45f450cff757ed520a7ee36c632ab62387c7bc9 (patch)
tree7ce124c795aa77a80780c741de48ce36855ffbe5 /exec/exec.c
parentd590af749f18ea3b82e46bb498568c77a2640d29 (diff)
downloademacs-d45f450cff757ed520a7ee36c632ab62387c7bc9.tar.gz
emacs-d45f450cff757ed520a7ee36c632ab62387c7bc9.zip
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.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions