|
From: | Michael Heerdegen |
Subject: | Re: closure within closure, incorrect (?) byte-compiler warnings |
Date: | Tue, 09 Nov 2021 01:04:12 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes: > This sums it up ... three bugs? > ;; 1. Byte compiler warnings (two cases) relating to the > ;; interactive spec: > ;; > ;; geh.el:7:1: Warning: Unused lexical variable `more-data' > ;; geh.el:10:54: Warning: reference to free variable ‘data-item’ > ;; geh.el:10:64: Warning: reference to free variable ‘more-data’ > ;; > ;; 2. When the compiled version is used interactively: > ;; > ;; Symbol's value as variable is void: data-item These are all symptoms of one and the same issue: the interactive spec currently can't refer to outer lexical variables. The warnings are actually legitimate, they only warn about this limitation. So: one bug (there was no Bug #3 in your list btw). Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |