GNU bug report logs - #47024
28.0.50; [feature/native-comp] Warnings from async compilations truncated

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 9 Mar 2021 17:48:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 47024 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 47024 <at> debbugs.gnu.org
Subject: Re: bug#47024: 28.0.50; [feature/native-comp] Warnings from async
 compilations truncated
Date: Tue, 09 Mar 2021 20:37:57 +0000
Eli Zaretskii <eliz <at> 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




This bug report was last modified 4 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.