From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar. Date: Mon, 07 Nov 2022 16:31:32 -0500 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2301"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 59057@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 07 22:32:09 2022 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 1os9iy-0000Ml-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Nov 2022 22:32:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os9iu-00046K-NJ; Mon, 07 Nov 2022 16:32:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os9is-00044x-3K for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 16:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1os9ir-0006Ur-NB for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 16:32:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1os9ir-0004kF-Ij for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 16:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2022 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59057 X-GNU-PR-Package: emacs Original-Received: via spool by 59057-submit@debbugs.gnu.org id=B59057.166785670318214 (code B ref 59057); Mon, 07 Nov 2022 21:32:01 +0000 Original-Received: (at 59057) by debbugs.gnu.org; 7 Nov 2022 21:31:43 +0000 Original-Received: from localhost ([127.0.0.1]:35585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os9iY-0004ji-Kx for submit@debbugs.gnu.org; Mon, 07 Nov 2022 16:31:42 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os9iX-0004jV-Nf for 59057@debbugs.gnu.org; Mon, 07 Nov 2022 16:31:42 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 70807100189; Mon, 7 Nov 2022 16:31:36 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 146F51000F4; Mon, 7 Nov 2022 16:31:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1667856695; bh=BDPHDuvuMFVJw4l0bxLDtwaSWgM93A7vXurvqh1cxVQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NsipFuA6BGh/fbQj2gtU8lAuPeehstev3zoLs/JiRvR+wQ+hrYoreacknL+ZMivlk Z7pWq5CMDR5cTQSgF2CwSYnOkFcSwVy2MutBGjcToCDJv9UbFaRFYy8033S546f8IV Ee+3E5ABQq2xexx2pBYQmVutb29XhYAFk/ke1BWTOg8RC2TQkRgSvM8HG0Z/uCOeAt YbBdfM+UnRdQWyOW824BMpv3GqUJ22Ttnx0OGIQAP97KmKd5Y78gDUVQUyq/z4Gy+M HYhd1YvcqPxklCYwo4bO2x6F1SEIdYrPfcpk13954gt4GYvODsCOGLIaOa7QNqwT1b KWYLQynJSTkgQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 007BF120FE6; Mon, 7 Nov 2022 16:31:34 -0500 (EST) In-Reply-To: (Alan Mackenzie's message of "Mon, 7 Nov 2022 20:20:20 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247302 Archived-At: >> (defvar VAR) does not "create a variable". > According to both its doc string and the Elisp manual it does. BTW, what I'm describing is how things have worked in `lexical-binding` since Emacs-24, basically. A few corner cases didn't quite obey it (and I'm sure there are still a few remaining ones), but by and large this is how it has worked for the last 10 years. Stefan