aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJoão Távora2025-04-18 23:08:37 +0100
committerJoão Távora2025-04-20 23:20:33 +0100
commit53d732d775fb416f6a412c2a87f12beed682c96c (patch)
tree56074be7fe275b0da0c1a3f7e3e7f8038695e897 /java
parented1311a62a4e02817e548b0873ab21114047c076 (diff)
downloademacs-53d732d775fb416f6a412c2a87f12beed682c96c.tar.gz
emacs-53d732d775fb416f6a412c2a87f12beed682c96c.zip
Flymake: dynamically resize and layout diagnostic listings
Since 'origin' and 'code' are new separate optional attributes of each diagnostic, it becomes important to not waste space in these listings when these are absent. When a specific column isn't used by any line, omit it. Also spare just enough horizontal space to hold the largest element in each column. * lisp/progmodes/flymake.el (flymake--tabulated-setup): New helper. (flymake-diagnostics-buffer-mode) (flymake-project-diagnostics-mode): Use flymake--setup-tabulated-listing. (flymake--fit-diagnostics-window): New helper. (flymake--tabulated-list-format-base): Rename from flymake--diagnostics-base-tabulated-list-format. (flymake--tabulated-setup-1): Rename and rework from flymake--tabulated-entries-1. (flymake--diagnostics-buffer-entries): Remove. (flymake-diagnostics-buffer-mode) (flymake-project-diagnostics-mode): Simplify. (flymake--project-diagnostics-entries): Remove.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions