bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47024: 28.0.50; [feature/native-comp] Warnings from async compilatio


From: Andrea Corallo
Subject: bug#47024: 28.0.50; [feature/native-comp] Warnings from async compilations truncated
Date: Tue, 09 Mar 2021 20:37:57 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> When an async native-compilation is running, some warning messages
> emitted by the compilation are truncated.  Example:
>
>   Warning (comp): seq.el:396:16: Warning: `seq-contains' is an obsolete 
> generic function (as of Disable showing Disable logging
>
> Note the truncation after "(as of".
>
> Why does this happen? can it be fixed?

ATM we capture each Warning (or error) with the following regexp:
"^.*+?\\(?:Error\\|Warning\\): .*$"

So I expect we match the full line (if is a multi line diagnostic we'll
loose what's following).

The matched string is passed directly to `display-warning'.  I don't
know if we have same machinery cutting lines that are considered too
long.

Thanks

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]