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#67568: Emacs master: Bug in byte compiler when there's an unused parameter. Date: Sun, 03 Dec 2023 18:21:24 +0200 Message-ID: <83il5f6yuz.fsf@gnu.org> References: <1c2d9219-093c-0726-13ce-2c952f6e33ba@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 67568@debbugs.gnu.org, dmitry@gutov.dev To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 03 17:22:09 2023 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 1r9pEO-0008lp-UB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Dec 2023 17:22:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9pEB-0003I2-1G; Sun, 03 Dec 2023 11:21:55 -0500 Original-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 1r9pE8-0003Ht-K6 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 11:21:52 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9pE8-0001ZS-C5 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 11:21:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9pEI-0005MK-3e for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 11:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Dec 2023 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67568 X-GNU-PR-Package: emacs Original-Received: via spool by 67568-submit@debbugs.gnu.org id=B67568.170162050320570 (code B ref 67568); Sun, 03 Dec 2023 16:22:02 +0000 Original-Received: (at 67568) by debbugs.gnu.org; 3 Dec 2023 16:21:43 +0000 Original-Received: from localhost ([127.0.0.1]:60677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pDz-0005Li-9y for submit@debbugs.gnu.org; Sun, 03 Dec 2023 11:21:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pDw-0005LR-MV for 67568@debbugs.gnu.org; Sun, 03 Dec 2023 11:21:41 -0500 Original-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 1r9pDf-0001Vf-Kx; Sun, 03 Dec 2023 11:21:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QsdrLVJ2YwyH/I6jib8A9oqRjGRaWIf1uSiFn/cs5F0=; b=kjOg2pX0ecwH sSQ3QZXv7uhPxJDjry/d04ZcpihYTrJgrurBi8+yBMQTZzOWrONC1NVf9sPSCatRazO/Kr0B4VBDy u3rMJLMUH116lqDvbEpYaSsgCpZKYV9VujfaprQ7YFYmAiQtobgmW5KtSy0mSxiUlZ261f1GHo3M6 l+glVTZS/p6kB2bi+9KPKJJb+sCG0SZedV6cO9iN3wQ+D0IPcbXA7bOJVYNtMQqYsa9ZBCr2ekPbO my3OQdcPAHV0NpbezKvlYrwMoADZA2ImufF9c+eGzHRfAfzJGUCD4CLObHn4DUV36sor+GylGhyGL enQste/t1DYDvr/GvCvoEA==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275427 Archived-At: > Cc: Dmitry Gutov , 67568@debbugs.gnu.org > Date: Sun, 03 Dec 2023 10:55:56 -0500 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > >> I think the patch below should fix it. > > It certainly will in the test case, yes. > > I think I understand the function better now, thanks. > > Are you going to commit your patch, or should I? :-) > > I'm wondering whether it should go to `emacs-29` or to `master`. > I'm leaning toward `emacs-29` because it's rather embarrassing (and > perplexing for the user) and the patch is simple. > Eli? Stefan? No objections from me. Thanks.