From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67568: Emacs master: Bug in byte compiler when there's an unused parameter. Date: Sun, 03 Dec 2023 10:55:56 -0500 Message-ID: References: <1c2d9219-093c-0726-13ce-2c952f6e33ba@gutov.dev> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26938"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , 67568@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 03 16:57:11 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 1r9oqE-0006mM-VT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Dec 2023 16:57:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9oq0-0007MW-0q; Sun, 03 Dec 2023 10:56:56 -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 1r9opx-0007MF-AR for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 10:56:53 -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 1r9opw-0005Pz-55 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 10:56:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9oq6-0004cY-4S for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 10:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Dec 2023 15:57: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.170161897917706 (code B ref 67568); Sun, 03 Dec 2023 15:57:02 +0000 Original-Received: (at 67568) by debbugs.gnu.org; 3 Dec 2023 15:56:19 +0000 Original-Received: from localhost ([127.0.0.1]:60655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9opP-0004bW-GM for submit@debbugs.gnu.org; Sun, 03 Dec 2023 10:56:19 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9opK-0004bD-OH for 67568@debbugs.gnu.org; Sun, 03 Dec 2023 10:56:17 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EAC7B1000AD; Sun, 3 Dec 2023 10:55:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1701618958; bh=dZkN/JGHgQIDq+ZwyhWxX9vK1ARKn3cW7pf08fVolYo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DZRcgMRVu1S+dOkuO2dwmezXR9/KYdBy7plZndqiM/RhLFoUH0DwFPYsDNYlL5nVI gLEfDoU62Ldh1j8RPcSYimjNXmn8P/xCLLFFBaik6OOpkNeESQAEwvujYrGuPotnNP sZwzgMBUF3pivFl5uJww14XVkViGBXFBagtx4tN7mYnMtVC1JOVJ6v2IcXRIioltEH VmFytiucl4PlZT7FwbIUNF8Fbe9W04ijSOrc1tq8fFwGCtE7nfMRTJnkTPtOrujXOg yioK3jdRammoo48xfNIx/fslN3x1L3QsPb3VBQnFZxgypxUXWm940ynW7zTV0ho1/g sM77KjzCCyQBg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 57FB7100043; Sun, 3 Dec 2023 10:55:58 -0500 (EST) Original-Received: from pastel (unknown [45.72.194.97]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 26369120394; Sun, 3 Dec 2023 10:55:58 -0500 (EST) In-Reply-To: (Alan Mackenzie's message of "Fri, 1 Dec 2023 16:34:18 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275426 Archived-At: >> 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? Stefan