all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 6376@debbugs.gnu.org
Subject: bug#6376: 23.2; byte compile add-to-list report free variable
Date: Wed, 02 Feb 2022 00:31:55 +0100	[thread overview]
Message-ID: <877dae2mfo.fsf@web.de> (raw)
In-Reply-To: <87o83rzvtj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 Jan 2022 17:58:16 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I tried this byte-compiling such a file in Emacs 29, and I got:
>
> Compiling file /tmp/foo.el at Mon Jan 31 17:56:17 2022
> foo.el:2:15: Warning: reference to free variable ‘nosuchvariable’
> foo.el:2:15: Warning: assignment to free variable ‘nosuchvariable’
>
> So I guess it's been fixed at some point in the decade since this was
> reported [...]

The function got a compiler macro 2013 (bfa3acd65b), and the expansion
is either a `push' or a `setq' form (which support generating free
variable warnings), so this should have fixed this issue.

Michael.





      reply	other threads:[~2022-02-01 23:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08  1:30 bug#6376: 23.2; byte compile add-to-list report free variable Kevin Ryde
2010-06-09  1:29 ` Stefan Monnier
2010-06-12 23:11   ` Kevin Ryde
2010-08-06 23:45   ` Kevin Ryde
2010-08-10  9:12     ` Stefan Monnier
2010-09-21  1:34       ` Kevin Ryde
2020-11-19  4:05     ` Stefan Kangas
2020-11-20  5:06       ` Stefan Kangas
2022-01-31 16:58 ` Lars Ingebrigtsen
2022-02-01 23:31   ` Michael Heerdegen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dae2mfo.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=6376@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.