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#51695: 29.0.50; lexical scope closure, interactive spec byte compiler warnings/usage issue Date: Wed, 10 Nov 2021 15:20:08 +0200 Message-ID: <837ddg406v.fsf@gnu.org> References: <87k0hi2p3i.fsf@zoho.eu> <83r1bp5x6h.fsf@gnu.org> <87a6ic23ie.fsf@zoho.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32546"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51695@debbugs.gnu.org, monnier@iro.umontreal.ca To: Emanuel Berg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 10 14:21:22 2021 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 1mknXV-0008Ag-L2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 14:21:21 +0100 Original-Received: from localhost ([::1]:59976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mknXT-0000yN-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 08:21:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mknXC-0000yF-4t for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 08:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mknXB-0000cE-RS for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 08:21:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mknXB-0005sY-Nu for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 08:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Nov 2021 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51695 X-GNU-PR-Package: emacs Original-Received: via spool by 51695-submit@debbugs.gnu.org id=B51695.163655042522534 (code B ref 51695); Wed, 10 Nov 2021 13:21:01 +0000 Original-Received: (at 51695) by debbugs.gnu.org; 10 Nov 2021 13:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:37323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mknWb-0005rO-6l for submit@debbugs.gnu.org; Wed, 10 Nov 2021 08:20:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mknWY-0005r8-Ud for 51695@debbugs.gnu.org; Wed, 10 Nov 2021 08:20:24 -0500 Original-Received: from [2001:470:142:3::e] (port=58086 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mknWR-0000Q0-Dl; Wed, 10 Nov 2021 08:20:17 -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=vfnuj8RK4Es5qy09f2XL3bp8hX68xH5tHAZDsq7f9II=; b=IUZiryl/4deE /Fg8n7I3Hk1hAj5oX+lY8urk5UxVc0i/4BWvfRaH7FyU7HlgsWVmozZXmGHN/EfA6oirMLKxdBf+h pYysm2urbu/jooKVAUFtIf8Sos28wlEL/7L9inhMXZPJNupLg1TKaj72h2MqQKeHNzu7KSi5FXTwO spmFYAROUQjxvn0W3Uf2jdpohhFwRrJqaxHJVsmEZ2AtSwaOlFjkZXn/5vBgv0qVxDgwM+CXjMKHR l9ygQbe0zaJaAipmKDZWraWNoz8HU0sImEckVaFs4N4AfDhHLllGPLES8PE+e5dY8V50SNI0HQVIl aeSPHkizQ0/paylm76I5Wg==; Original-Received: from [87.69.77.57] (port=2545 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mknWQ-0008TS-E3; Wed, 10 Nov 2021 08:20:15 -0500 In-Reply-To: <87a6ic23ie.fsf@zoho.eu> (message from Emanuel Berg on Wed, 10 Nov 2021 02:39:05 +0100) 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" Xref: news.gmane.io gmane.emacs.bugs:219545 Archived-At: > From: Emanuel Berg > Cc: 51695@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Wed, 10 Nov 2021 02:39:05 +0100 > > > How can the interactive spec use lexically-bound variables > > outside its scope, when the interactive spec runs not at > > function definition time, but at function invocation time, > > when those variables will be long gone? > > But it does work if you evaluate the code, isn't this > discrepancy a problem? Not for me, it isn't. But what do I know? > "Function definition time", is that the time of Elisp > evaluation, byte compilation, or the loading of byte-compiled > source BTW? Whenever the function definition is evaluated, yes.