From: Lars Ingebrigtsen <larsi@gnus.org>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: 46912@debbugs.gnu.org, Pip Cet <pipcet@savannah.gnu.org>,
Vitalie Spinu <spinuvit@gmail.com>
Subject: bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo)
Date: Thu, 04 Mar 2021 21:09:44 +0100 [thread overview]
Message-ID: <874khqvfxz.fsf@gnus.org> (raw)
In-Reply-To: <868s72re2m.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Thu, 04 Mar 2021 14:03:45 -0400")
Joseph Mingrone <jrm@ftfl.ca> writes:
> With
>
> ;;; -*- lexical-binding: t -*-
>
> (let ((foo t))
> (defvar tmp-bar foo))
>
> the same warning is reported when compiling, but when loading the .elc
> file, the debugger isn't started. Just
>
> load: Symbol’s value as variable is void: foo
>
> is reported.
I can reproduce this problem here, too (and Emacs 27 doesn't have this
problem).
I have not tried to bisect this, but since Pip pushed a change related
to this a couple days ago, I've added Pip to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-03-04 20:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 0:14 bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo) Vitalie Spinu
2021-03-04 18:03 ` Joseph Mingrone
2021-03-04 20:09 ` Lars Ingebrigtsen [this message]
2021-03-04 20:17 ` Joseph Mingrone
2021-03-04 20:48 ` Lars Ingebrigtsen
2021-03-04 21:08 ` Pip Cet
2021-03-04 23:15 ` Joseph Mingrone
2021-03-05 2:52 ` Pip Cet
2021-03-05 3:22 ` Joseph Mingrone
2021-03-05 8:27 ` Vitalie Spinu
2021-03-05 9:10 ` Mattias Engdegård
2021-03-05 9:56 ` Pip Cet
2021-03-04 20:21 ` Pip Cet
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=874khqvfxz.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=46912@debbugs.gnu.org \
--cc=jrm@ftfl.ca \
--cc=pipcet@savannah.gnu.org \
--cc=spinuvit@gmail.com \
/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.