Open unhammer opened 9 months ago
If the error description contains linebreaks, does that cause any problems? A few of the lexd messages do that. If that's not a problem, I've got the change implemented and ready to push.
Well, in the Emacs case it just won't match past the first line, giving a shorter tooltip when you hover your mouse … I'd say push and deal with such details later :)
This would let e.g.
M-x compile
Just Work in Emacs, and is also easier to parse with scripts and such than the default human-readable section-per-file-output.E.g. instead of
we'd have
(This would match the
gnu
format built in with compilation-error-regexp-alist-alist in Emacs, but also fits with the output of many other compilers and linters.)