From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.bugs Subject: bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo) Date: Thu, 04 Mar 2021 16:17:20 -0400 Message-ID: <86zgziptbj.fsf@phe.ftfl.ca> References: <868s72re2m.fsf@phe.ftfl.ca> <874khqvfxz.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19392"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) Cc: 46912@debbugs.gnu.org, Pip Cet , Vitalie Spinu To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 04 21:23:30 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 1lHuVM-0004tx-Hl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 21:23:28 +0100 Original-Received: from localhost ([::1]:53358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHuVH-0006IK-Qf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 15:23:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHuQ8-0001xD-4m for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 15:18:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHuQ5-000654-Ml for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 15:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHuQ5-0002Uf-JI for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 15:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Mingrone Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46912 X-GNU-PR-Package: emacs Original-Received: via spool by 46912-submit@debbugs.gnu.org id=B46912.16148890509529 (code B ref 46912); Thu, 04 Mar 2021 20:18:01 +0000 Original-Received: (at 46912) by debbugs.gnu.org; 4 Mar 2021 20:17:30 +0000 Original-Received: from localhost ([127.0.0.1]:60344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHuPa-0002Td-1b for submit@debbugs.gnu.org; Thu, 04 Mar 2021 15:17:30 -0500 Original-Received: from mail-qk1-f175.google.com ([209.85.222.175]:33633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHuPX-0002QI-Ac for 46912@debbugs.gnu.org; Thu, 04 Mar 2021 15:17:28 -0500 Original-Received: by mail-qk1-f175.google.com with SMTP id l4so14443370qkl.0 for <46912@debbugs.gnu.org>; Thu, 04 Mar 2021 12:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZAyfb8eyXM6813zt4men2i46sT0hb75AI9qU5FNvf2c=; b=B26NuL9sr/2ZnfMwakZd62yrRgH9BjjWFlXHc7XdH5ee0iuK+ly4PBSpL62zprKEIu SgMGCOUQTnieKDMhuES92XV9j1OOoo/FXAYWF2Mvn0PEYAtxOIWhL2gMM3ViJc49VSZC xbkyUUI8Sw2oYrlCgczeVBCR+pZzzc3wOV3Sw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZAyfb8eyXM6813zt4men2i46sT0hb75AI9qU5FNvf2c=; b=iB3Lc+t/gjK+svnR2ePT0E4ixuoIv3fBHsc50PMOiCG1huuoSDltl9W6aegbeJr/v+ mZpsNqTK0oddHZddyKfPRQS1sXpukpv6g4ltl+yODAczMvE0FFXBJy6kZs41ZLpSlkpU pru/wk7LaZQdIUMgca3Hl6ggssIQdgRoJBHO6wDRPe6Xa10fJsfg6BEzLd+Y6tSvl3a4 T0h7unarjSxpOqEo+o41TGRDq4hYq+dP9JNwDUcZSSDWTlbVfEaYB76RXsuPDFVz9Vf3 y5fHMfwWSizWE2yUfPKxMg1iju6P0EXhN4dw+8TQvqPYzZSs80ZHQxVRWDjzew6fxhz6 de2g== X-Gm-Message-State: AOAM533D1R3j31DGENpV9s62PtLjvurN1pamPC/8MiOwxaSAeo+/MFIz UMRV7KrQJA3FKTM5+M+9eYTNJg== X-Google-Smtp-Source: ABdhPJxSAtNwViNLTblbLh18FF4i4IkRROgV6xU9kH8tQgj/GJEjF3H8u4hzT0qYnc3eE0s1hGB7ig== X-Received: by 2002:a05:620a:954:: with SMTP id w20mr6007788qkw.57.1614889041729; Thu, 04 Mar 2021 12:17:21 -0800 (PST) Original-Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-166-54.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.166.54]) by smtp.gmail.com with ESMTPSA id z1sm434268qtq.78.2021.03.04.12.17.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Mar 2021 12:17:21 -0800 (PST) In-Reply-To: <874khqvfxz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 04 Mar 2021 21:09:44 +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:201458 Archived-At: On Thu, 2021-03-04 at 21:09, Lars Ingebrigtsen wrote: > Joseph Mingrone 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=E2=80=99s 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. I think the problem was introduced before 9b4a2dd (2021-02-14). That was the last snapshot that I was running and I'm pretty sure I saw the problem then. If I can find time tonight, I'll try to confirm that. Joe