From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +LDuIWRR82NOeQAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 11:54:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QC0CImRR82MtcgAA9RJhRA (envelope-from ) for ; Mon, 20 Feb 2023 11:54:28 +0100 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 68B5B3CAF9 for ; Mon, 20 Feb 2023 11:54:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU3o5-0006bF-1D; Mon, 20 Feb 2023 05:54:05 -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 1pU3o3-0006Zy-3W for guix-patches@gnu.org; Mon, 20 Feb 2023 05:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU3o2-0002mw-Pc for guix-patches@gnu.org; Mon, 20 Feb 2023 05:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU3o2-0004Gn-A2 for guix-patches@gnu.org; Mon, 20 Feb 2023 05:54:02 -0500 Subject: bug#61266: [PATCH 1/1] lint: Add unused-modules linter. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 20 Feb 2023 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Reily Siegel Cc: 61266-done@debbugs.gnu.org Mail-Followup-To: 61266@debbugs.gnu.org, ludo@gnu.org, mail@reilysiegel.com Received: via spool by 61266-done@debbugs.gnu.org id=D61266.167689043516395 (code D ref 61266); Mon, 20 Feb 2023 10:54:02 +0000 Received: (at 61266-done) by debbugs.gnu.org; 20 Feb 2023 10:53:55 +0000 Received: from localhost ([127.0.0.1]:50619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3nv-0004GN-5A for submit@debbugs.gnu.org; Mon, 20 Feb 2023 05:53:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3nu-0004GC-3b for 61266-done@debbugs.gnu.org; Mon, 20 Feb 2023 05:53:54 -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 1pU3nn-0002hH-K5; Mon, 20 Feb 2023 05:53:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=qzJzJDJYiLWwltX0BfVE5SkpjoNpXryEuU0aoZoYIiQ=; b=XoNz6hPYe7nCEwmEaUG0 D9va2ZHf/UdJwiVjcS5Eheb/wZxn2L2tVXuUKJg/Q5nMPaCkX1wFOVaFlAvDC8t6ujrPWDB0Y1fNZ eA6ntu1InmB3kLljGhk8QGZ06B55G9JfhNNu1HNxD/wkKtpZvfdgbR5y73x2aTfs08kIHIP6qWJjK ZziwLVyLBubHwT8hlHgsK/u5ZMZ0IdjMPiHR2Sdhv6UrifEGTaYj+NqL1xyxbJb/1KaamNH0olQlg SnHYpCC0lVjbpSoMpT0dHz7HEPTIb82PJbZY6tfOzrsYqYz02lJcatUp0DuyM4PYCmrJtWZT0xu67 abOmdvt7bO6CYA==; Received: from [193.50.110.154] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU3nn-0004sy-3v; Mon, 20 Feb 2023 05:53:47 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h6w2gc8n.fsf@reilysiegel.com> <87y1p3n4dt.fsf@gnu.org> <87y1p1a0la.fsf@reilysiegel.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Cornouiller 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, 20 Feb 2023 11:53:45 +0100 In-Reply-To: <87y1p1a0la.fsf@reilysiegel.com> (Reily Siegel's message of "Mon, 13 Feb 2023 13:20:49 -0500") Message-ID: <87zg98ip52.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676890468; a=rsa-sha256; cv=none; b=JwfsXJ/JMzUQBAs7X6a2UofKvmtH1sIoe22otxdUvXI232EDa66Wh2QzqElX1B1CG0AmHY VYlxmwygfOKD6oJ9de2jFEbTfRxXXKtirjT8HZ1AUO1qwae+9IZd3gn4iJ7ofDyUbgfYGy olmyAY1GdGbtH/QxATbQUxgAG1K51btpMNL0PBuBt5sxfYvvEoVrfbvKDnHW8TiVk8/S9g KTsXtQ4irlU5qt6mw9c3bU4/r2QfCXwcu9hVwWgDLBosLkMjWi9ogM6RnS4d+EiRpG5Ws8 kjTAQT8Ckzzrvn9u9G6AOAplbe5JhXPW7K6EYieNzRsoi0NwmrG3QElG3DPLiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XoNz6hPY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676890468; 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:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qzJzJDJYiLWwltX0BfVE5SkpjoNpXryEuU0aoZoYIiQ=; b=PleFy30nh70aJvhbU8J6ZHHC5GoXAvNFaa7Cnhw0NP6AQMie2FxD5Uzr2QWFmqfFp07wIO ipzHrZgEEp+Q8BbayjvD5U2TIoqx1Bj1N5LTSp7JTkL2LUxRts6RfL1aszGJg2s9ScH1rE ruMlbRQsYYmU2LubYv7cy04eeae9sOINJLYMmBpZ+7Sg1bAbQ7pBN7jIDLt3YnbdRJfqj3 FGNNoErMtUxulHXPfTofMi7LHNILpY5lPLTfwjBps3HI50drS3Bqw5FSKp+952VlB4GB0S Tat2brSFvZE/cmIFymTIkLScOf9HDZEoIc84+xohyGnQdks91JdL3nKb49innA== X-Migadu-Queue-Id: 68B5B3CAF9 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XoNz6hPY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-TUID: nHcXVZo8pTux Hi Reily, Reily Siegel skribis: > Ludovic Court=C3=A8s writes: > >> I have just submitted a patch adding a =E2=80=98-Wunused-module=E2=80=99= warning to >> Guile=E2=80=99s compiler, which avoids these issues: >> >> https://lists.gnu.org/archive/html/guile-devel/2023-02/msg00026.html >> >> I wonder if we should stick to that and avoid having a lint warning >> altogether. WDYT? > > This is probably a much more workable approach. Another problem with > lint checkers that I forgot to mention in my initial patch is that they > are really designed to work on packages, not files. Alright, I=E2=80=99m closing this issue but let=E2=80=99s reopen it if we e= ventually change our mind. Thanks for looking into this! Ludo=E2=80=99.