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#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Date: Sat, 23 Sep 2023 12:08:02 -0400 Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> 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="36653"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 18:08:59 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 1qk5Bj-0009JV-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 18:08:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qk5Bc-0006He-7N; Sat, 23 Sep 2023 12:08:52 -0400 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 1qk5Ba-0006HE-VL for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 12:08:51 -0400 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 1qk5Ba-0001sZ-N5 for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 12:08:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qk5Bl-0005PC-He for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 12:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs Original-Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169548530220716 (code B ref 66136); Sat, 23 Sep 2023 16:09:01 +0000 Original-Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 16:08:22 +0000 Original-Received: from localhost ([127.0.0.1]:40509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5B8-0005O3-Bg for submit@debbugs.gnu.org; Sat, 23 Sep 2023 12:08:22 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5B6-0005Nk-Nc for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 12:08:21 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 157E3100084; Sat, 23 Sep 2023 12:08:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695485283; bh=U3z91kYQFLMzRMX33rGmcHtdDrwns9e9IztudhsOBrM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SZ8IeT7fUYCKGdTwMsZhEaEY3Ii6atEt81+0GrDQM/sqUnquOfb6RBeP0RzghECgK 0u3aZqOl8RE+a2Z1pM4li2sXM6zZs/0i1k2Ayju8Q+HFDri3ciEBbXp+SGGNOS2CeQ FL7vc3Ngv40HkXeqiArp79//t71Mh3BA2YFIiOS0DOXmEeresMEY+oWQqz6ND+dEne ZhXqphU6jgyMsjsDmJGGZgeShJq4mQuXHBE8US5wu237b81458GsM7ocsN8aPKujAD 5N3nef/TlIONggFWplE6Wg/2XiUm+JrDaRVn8HV/LPioZa+z/XM8QZHuPuFj44Pf29 Yp90DN+UbCxXA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0DD57100046; Sat, 23 Sep 2023 12:08:03 -0400 (EDT) Original-Received: from pastel (69-165-140-3.dsl.teksavvy.com [69.165.140.3]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D056112040D; Sat, 23 Sep 2023 12:08:02 -0400 (EDT) In-Reply-To: <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sat, 23 Sep 2023 12:46:50 +0200") 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:271174 Archived-At: > - `declare` is only allowed in named definitions because it is > macro-expanded very early, so we have no way of annotating lambda > expressions It's not because of timing, it's because these `declare` all store their info on the symbol (and some of them even fundamentally really apply to the name and wouldn't make sense when applied to an anonymous function, e.g. obsolescence). Stefan