From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47024: 28.0.50; [feature/native-comp] Warnings from async compilations truncated Date: Wed, 10 Mar 2021 15:07:53 +0200 Message-ID: <83a6rbp36e.fsf@gnu.org> References: <83sg54p6cl.fsf@gnu.org> <83im5zpu6p.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47024@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 10 14:09:22 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJyaY-0007fu-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Mar 2021 14:09:22 +0100 Original-Received: from localhost ([::1]:46662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJyaX-0005M6-GV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Mar 2021 08:09:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJyaE-0005Jg-69 for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 08:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJyaD-0004R0-U1 for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 08:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJyaD-0004IW-Oi for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 08:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Mar 2021 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47024 X-GNU-PR-Package: emacs Original-Received: via spool by 47024-submit@debbugs.gnu.org id=B47024.161538168616449 (code B ref 47024); Wed, 10 Mar 2021 13:09:01 +0000 Original-Received: (at 47024) by debbugs.gnu.org; 10 Mar 2021 13:08:06 +0000 Original-Received: from localhost ([127.0.0.1]:49119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJyZK-0004HF-25 for submit@debbugs.gnu.org; Wed, 10 Mar 2021 08:08:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJyZG-0004Gf-W9 for 47024@debbugs.gnu.org; Wed, 10 Mar 2021 08:08:03 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60649) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJyZA-0003h8-Ei; Wed, 10 Mar 2021 08:07:56 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1399 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJyZ9-0000Rm-UD; Wed, 10 Mar 2021 08:07:56 -0500 In-Reply-To: (message from Andrea Corallo on Wed, 10 Mar 2021 06:50:15 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201970 Archived-At: > From: Andrea Corallo > Cc: 47024@debbugs.gnu.org > Date: Wed, 10 Mar 2021 06:50:15 +0000 > > > The message comes from a sub-process, right? > > Yes > > > Could it be that we > > match prematurely, when only part of the text was received? > > That's possible, just before using the regexp we call > `accept-process-output' on the process, I thought this was sufficient to > handle the case but I'm no expert into this area. I think I see the problem: it's nothing as complicated as that. Here's what the original warning looks like: seq.el:396:16: Warning: `seq-contains' is an obsolete generic function (as of 27.1); use `seq-contains-p' instead. There's an actual newline at the end of the first line, because by default we _fill_ the text. So I think the solution should be to bind (in the sub-process which performs the actual compilation) warning-fill-column to a large number. Is there a similar issue with error messages?