From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar. Date: Fri, 25 Nov 2022 10:36:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59057@debbugs.gnu.org, Stefan Monnier To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 25 11:37:29 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 1oyW5I-0002FS-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Nov 2022 11:37:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyW4z-0002kY-BP; Fri, 25 Nov 2022 05:37:09 -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 1oyW4s-0002kD-L5 for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 05:37: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 1oyW4s-00009v-DM for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 05:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyW4s-0004xX-9U for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 05:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Nov 2022 10:37:02 +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.166937257719006 (code B ref 59057); Fri, 25 Nov 2022 10:37:02 +0000 Original-Received: (at 59057) by debbugs.gnu.org; 25 Nov 2022 10:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:33646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyW49-0004wU-9a for submit@debbugs.gnu.org; Fri, 25 Nov 2022 05:36:17 -0500 Original-Received: from mx3.muc.de ([193.149.48.5]:34280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyW47-0004wD-80 for 59057@debbugs.gnu.org; Fri, 25 Nov 2022 05:36:15 -0500 Original-Received: (qmail 48675 invoked by uid 3782); 25 Nov 2022 11:36:07 +0100 Original-Received: from acm.muc.de (p4fe1573d.dip0.t-ipconnect.de [79.225.87.61]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 25 Nov 2022 11:36:07 +0100 Original-Received: (qmail 4710 invoked by uid 1000); 25 Nov 2022 10:36:06 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:248988 Archived-At: Hello, Stefan. On Thu, Nov 24, 2022 at 22:12:07 +0100, Stefan Kangas wrote: > > I don't see any concrete benefit. It's only a problem of documentation > > and/or teaching programmers. If we could go back to 1984 maybe it would > > be worth it to make a different decision, but the cost of the change > > doesn't seem worth the very minor (and hypothetical) benefit. > So should this bug report be closed? The action of defvar can't really be changed any more, but the documentation, which is rather confusing, could be improved. I would suggest leaving the bug open until this has been done. Unfortunately, I won't have much time to look at this in the next few days. -- Alan Mackenzie (Nuremberg, Germany).