From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#47516: 28.0.50; void-variable edebug-all-defs Date: Fri, 2 Apr 2021 20:24:03 +0200 Message-ID: <640e3d62-cb4d-b459-3e72-23ff20b0fb16@gmx.at> References: <08ed7c1c-093b-eed2-8442-3cac05bf6b0a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47516@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 02 20:25:14 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 1lSOTq-0006aL-8d for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 20:25:14 +0200 Original-Received: from localhost ([::1]:52754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSOTp-0005c2-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 14:25:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSOTe-0005bg-PO for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 14:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSOTe-000426-IN for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 14:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSOTe-0008Mw-Cb for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Apr 2021 18:25: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.161738785732108 (code B ref 47516); Fri, 02 Apr 2021 18:25:02 +0000 Original-Received: (at 47516) by debbugs.gnu.org; 2 Apr 2021 18:24:17 +0000 Original-Received: from localhost ([127.0.0.1]:32840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSOSu-0008Ln-PO for submit@debbugs.gnu.org; Fri, 02 Apr 2021 14:24:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:42813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSOSs-0008LZ-Ts for 47516@debbugs.gnu.org; Fri, 02 Apr 2021 14:24:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617387846; bh=IZNFWlRo5u6GTQCgGumRtgWBS+RGs/fMrEVDe3Y+Ba0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=NgmkVgC3rX5oj4Bpae+/F/diJ5qAUEzZytIQhMRCfwSdxH0/Q2CUdnKviGs17/KVf JrHiw91Zzf6td3tKurPm55gQSrxaLQT7/uM2xODCvJ6UQUc5NImItYRvs07U4Sw0hJ 5PNIQIclalwHIH1mtBpwslmJeAlXZZDW17HyDIhc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.5]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M2wL0-1lTVST2sPs-003M60; Fri, 02 Apr 2021 20:24:05 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:ZXKvGIOc2JxneXMWY6aOD5+0cpgnSQ2+JaSW2tJYQQtC52CvwZs //gWQceJckMfrWgV9FDXPw5snguWxkrzzqIjs4LnYbtzsc57OZq4AYbAo0TQDM5W1JOy7Sz vQUyFvzUmN0xiBbewK4TMoXRUHUIL7iOxJcwQxd9XFS3sdJfFf20QrHy6477Q+whUio3gub HF39zodb38Yn0hTQaYdiA== X-UI-Out-Filterresults: notjunk:1;V03:K0:dw9LKbVLmUg=:fX/LNl1sKq5XRMtGrXLURW KGqVE1QrTXqWNbeOuzXsBlmMLCIvtK1rjxyLhMWvycJcd9jKtny8SsC14ecnzuAWTmhG3L3/T L6BFOno+FSXnmrj9ADei3WsLD3Alg0B2gumIsZOkWv+EDKcJoGWFZBnsKfIo9dJx0l5DRLDl9 qNsS3w1A88yF12biXyQLAwHPbASO8KqbgwkotfSnD7nER7q9gVy2zVRePJq85xzzzAFSFEnBp 7hFOXqHlw5W9343xIxzrlqyyzI3tpRVNl0iNjjCdps6McMSHzFKA9oMsEaTJ2w8hJHLLWeMix ENoa6CJT1iNS5a4gUdhZFmSe/XVHCf9CwkDFkqkKV6dB0jmGKmGsqNZivj1tznuZfqvMe/rnf SJDjeSjVnBHA2ab9U7tR+IKHLwOOO4TgbcAnpId4iyU7KviC7nOtD+ChRIie+Wku7XBvHqX+j /zCunlUQcsdrHiK+48Pu+e9TWSXrU4RiUBdvp9eEy6Px/P7MR+p3LzForsCtG2WtXl6QRKfKG SsBF6pzBFYtW0es+bI8m3briGb1Y+5bHob+ut0u9ioUG2NIiVd5XmZ1umFDvzq4Z4w2BHYXpf 9GJOFArAh6GcddClEdxuNTp+CIKR4dePlCQDTD7WioutlMJx9uyIEKeXBkEjaaWxHyh8jGLI0 wD0My1bkjmOfDj0TDCqK4Uz5JM0gAeKM1LFxu6ONmTfnZxGY27B11LAiFqGiUtwTiuo4NOcBY tPcQ6t6+f5ZV2L+MhPbxphGJJ2yWZyJj33ooOAGN3TZE1BXsPXbabexCRkPH5fB1iM821jEQ 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:203475 Archived-At: > 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"? No. But I just read the doc-string of `edebug-all-defs': edebug-all-defs is a variable defined in =E2=80=98edebug.el=E2=80=99. You can use the command =E2=80=98edebug-all-defs=E2=80=99 to toggle th= e value of this variable. You may wish to make it local to each buffer with (make-local-variable 'edebug-all-defs) in your =E2=80=98emacs-lisp-mode-hook=E2=80=99. and that's what I've apparently done. > I'm leaning towards considering this a "pilot error". Objection, your honor! martin