From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AL0wEhLWt2XitwAAe85BDQ:P1 (envelope-from ) for ; Mon, 29 Jan 2024 17:45:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AL0wEhLWt2XitwAAe85BDQ (envelope-from ) for ; Mon, 29 Jan 2024 17:45:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="pwleo/N6"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706546706; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YckeU1fVdci1xy2MbwBuKAt/65k6CS2eIFBKI6PRZCA=; b=VZQNPRzJfma0RAzjuVEMn8Mf6A1/2palp8LJKcRBibBu2FTNyIIdHO4IqTuiBvGbclnynH 30mZtHp6K2wRaFRSf6YCQqUHfCYON59/zC0L8vbZPiqwyR7a0Cd6fmakxdA4+l+zcgbAuv IJ7kpqX2cKsL5kT2eOZRB/Qv15qx5LEJzu+h5+m/EuZUyXpVyeMw9KPt3Hwy4wy8qKZitV ADbwIuqc7xzOiRZwZoKvyOmFXi+HeXbwF2iirVzYHS5ntph5p4NkXelWDTouKHuUDoWNjH 5Ug4+fNSIDghd4hC9NwwcQG9OzsE2wgF8u1lWVXg5/jAr5FZOulXQZ33Ap8TOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="pwleo/N6"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706546706; a=rsa-sha256; cv=none; b=bXCQ7YnvhE7dItUmAa7blqOXsPscyb8HLC+yDMGHQtJrgygw4SBZxHdvBUnYqaUfTOBOCc PylTVedUgK35xuO50DTkZdcNL8CKtFgKWk5uUuv910BYkeV7p4Ujbb1m+PVXg5vSIy9UPG BRUPp5s80xRXbnVsCjnts+O4RIcYSS4t44RjA3OdLKcg235imcLRSFh0ajR7e2lDy3kQGx kP3RjwoX6RgGbV/KuMbVadck3UIJ1DvPVltAvBOsQ8kuHMmuTmmFcia6HtoKiOQQ2fyy/p 2uBkiD0jSMycwVaAYU/xiaALcl5AGzT0AEQ7CYY363G9qT0c++cZ3EkHZAMmcQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30FB5692AE for ; Mon, 29 Jan 2024 17:45:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUUkB-0005C4-1o; Mon, 29 Jan 2024 11:44:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUUk9-0005Bw-6F for guix-devel@gnu.org; Mon, 29 Jan 2024 11:44:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUUk7-000322-Hp; Mon, 29 Jan 2024 11:44:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=YckeU1fVdci1xy2MbwBuKAt/65k6CS2eIFBKI6PRZCA=; b=pwleo/N6UoIHo36iIG82 zGYFaoP5YGH4Vo4myxRoPlSX6RazFnAQgVp0QzBSFl/n1beP63Qub1o5tmwiIdAuUDhzWUMvLmnaP 1v1T9mYun5PQa2TgszlGCJp9NcquK8igXC3wF1St6u4bpCaFlXKoaciEyw18DADZydLbhPU8oxF29 hipHxHCurz+H8G49/f5Qzm83jwOYVeleXYo76rtoltHrsoVGWmu7BN7J/kJcAiUaJbJgh/9CXdstY 2zoyL0oAiEe42+mrT6u+wPM3axAOefQv4fzxxhRF4NLDDZBPYTzq/IUyQDeql9EFcuY+hMXDmNgzB FPktSqIlfoNDWQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christian Miller , Pierre Neidhardt Cc: guix-devel@gnu.org Subject: Re: Check for ANSI compliance In-Reply-To: <87cytz7qzh.fsf@dadoes.de> (Christian Miller's message of "Wed, 17 Jan 2024 19:29:54 +0100") References: <87cytz7qzh.fsf@dadoes.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 =?utf-8?Q?Pluvi=C3=B4se?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la =?utf-8?Q?Cogn=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 29 Jan 2024 17:44:16 +0100 Message-ID: <87a5oom6n3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.90 X-Migadu-Queue-Id: 30FB5692AE X-Spam-Score: -9.90 X-Migadu-Scanner: mx11.migadu.com X-TUID: GpEHQZA8DI1p Hi, Christian Miller skribis: > I use the Emacs compilation mode (M-x compile). > > For example, the following "M-x compile RET guix build does-not-exist > RET" would result to the following: > > -*- mode: compilation; default-directory: "~/" -*- > Compilation started at Wed Jan 17 19:18:57 > > guix build does-not-exist > guix build: error: does-not-exist: unknown package > > Compilation exited abnormally with code 1 at Wed Jan 17 19:18:57 > > It is not only visually, but it actually breaks a feature of the mode, > too. The unknown package error is not detected as an error by the > mode. I also had a case where it detected warnings as errors. > > Could we check for ANSI compliance instead of assuming it's presence? That used to be the case until commit 672d3d4a87839b0692c307df0edb66cd16bcbf1a, which enabled colors even when =E2=80=98INSIDE_EMACS=E2=80=99 is set. Pierre, do you remember what the rationale was? Ludo=E2=80=99.