From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#47516: 28.0.50; void-variable edebug-all-defs Date: Fri, 02 Apr 2021 11:31:53 -0400 Message-ID: References: <08ed7c1c-093b-eed2-8442-3cac05bf6b0a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47516@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 02 17:33:12 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 1lSLnM-0005G7-2i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 17:33:12 +0200 Original-Received: from localhost ([::1]:45078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSLnL-0007Wt-25 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 11:33:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSLnC-0007WR-Tg for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 11:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSLnC-0007eq-MU for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 11:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSLnC-0004A3-Hu for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Apr 2021 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47516 X-GNU-PR-Package: emacs Original-Received: via spool by 47516-submit@debbugs.gnu.org id=B47516.161737752515917 (code B ref 47516); Fri, 02 Apr 2021 15:33:02 +0000 Original-Received: (at 47516) by debbugs.gnu.org; 2 Apr 2021 15:32:05 +0000 Original-Received: from localhost ([127.0.0.1]:60896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSLmG-00048f-Vc for submit@debbugs.gnu.org; Fri, 02 Apr 2021 11:32:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSLmF-00048B-Fz for 47516@debbugs.gnu.org; Fri, 02 Apr 2021 11:32:04 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E15FB100201; Fri, 2 Apr 2021 11:31:57 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 944CD1000C9; Fri, 2 Apr 2021 11:31:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1617377515; bh=NAd4tBQ1xgxZO6YwdJOJVdycEqq+T13bgh6dsTI+Vuc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dCTvcD6tXTVJisLwRRS1rRfUuEE1135DB56C6t83xB8Eqq5r5pq1cMVLsSb+ZMi2K Mja8He2sebCpElw1340oF9ZAjdvJExODdVCGQmGsHft5D+r59nYCS+0nb/OIIG9SkM Jk9+lZn9/Wvr4prOy3/nCMJdwT4fVpbxV6Lj6auaKJbOTPNt3EnfZfvKILwFnLA1Aw 6IzMIeEVcCM90Kh4YtXRaXGyrGg96xhjClVwisvy3fg2RTH34Krm7Ito2OoILW6VuZ fL4i66+r6D7Hlu2atwTJgA0alpd68WttlDpOrdaHU9GWjdW3X5OELzvEDfrLNk3Ei0 /O5yYmRgs/f2w== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 60B2C120320; Fri, 2 Apr 2021 11:31:55 -0400 (EDT) In-Reply-To: (martin rudalics's message of "Fri, 2 Apr 2021 16:15:52 +0200") 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:203473 Archived-At: >> Hmm... still can't reproduce it here. Can you reproduce it with `emacs -Q`? >> >> Also (stab in the dark), could you check (boundp 'edebug-all-defs) in >> a few different buffers? > > Maybe I found it. For whatever reson I have > > (make-local-variable 'edebug-all-defs) > > in my emacs-lisp-mode-hook. Apparently, I needed it many years ago and > it wasn't in the way till a couple of weeks or months ago. Oh, so it ends up making the variable buffer-local before it gets initialized, so it's both globally unbound and buffer-locally unbound. Hence when the `defvar` is processed the global value gets initialized but the buffer-local value stays unbound. Do you happen to remember why you "needed it many years ago"? I'm leaning towards considering this a "pilot error". Stefan