From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#47516: 28.0.50; void-variable edebug-all-defs
Date: Wed, 31 Mar 2021 13:16:09 +0200
Message-ID:
References:
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="19503"; mail-complaints-to="usenet@ciao.gmane.io"
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 Wed Mar 31 13:17:08 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 1lRYqS-0004xQ-Pl
for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 13:17:08 +0200
Original-Received: from localhost ([::1]:59720 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lRYqR-0000BA-RY
for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 07:17:07 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42270)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lRYqM-0000B4-D6
for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:17:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:42042)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1lRYqM-0000Tj-5X
for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:17:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1lRYqM-0005sN-18
for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:17:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 31 Mar 2021 11:17:01 +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.161718938822534
(code B ref 47516); Wed, 31 Mar 2021 11:17:01 +0000
Original-Received: (at 47516) by debbugs.gnu.org; 31 Mar 2021 11:16:28 +0000
Original-Received: from localhost ([127.0.0.1]:53588 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lRYpo-0005rO-Cx
for submit@debbugs.gnu.org; Wed, 31 Mar 2021 07:16:28 -0400
Original-Received: from mail-oi1-f176.google.com ([209.85.167.176]:39631)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lRYpm-0005r8-3T
for 47516@debbugs.gnu.org; Wed, 31 Mar 2021 07:16:27 -0400
Original-Received: by mail-oi1-f176.google.com with SMTP id i81so19637875oif.6
for <47516@debbugs.gnu.org>; Wed, 31 Mar 2021 04:16:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc:content-transfer-encoding;
bh=QYo1j30IPCXsXx5/KobPLoKneIq0ognEJfyO87UjfDc=;
b=LB/yHdOIbwICyCdFw/yF2/HZEtYr4RrJMohJRJ11q1yg3MlEIrXd6darGWQgTxt/nH
wae3zOJhIgDaQHa5+EdX3QGq0LCdmiNxdddi98lgav1Ybr8BI/AqXyHbyeedmFmY7kvP
Uk7NZrjnLGy2XxFy4UCaXa/1otaYFGK4A6Cvmm9CXnmCfGVt9blR5GWVatJ2Zkzkhz7W
ClgAMbF5k/MD4Yr5yDbNWgS9r3KqkOSPzNbk1FZltlSXB3cO0HRr6jrjhSgRf6Qlo2vB
GokMWVE0nuykg+Jf660SL1Ev1EUHkIeSwjSZh1NSAR2lNGRQCU9or6QPJJh7tf7AC6fp
yIJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=QYo1j30IPCXsXx5/KobPLoKneIq0ognEJfyO87UjfDc=;
b=c0sg0nk9ShqXikMSlra+UrgXqoPN1FLGTX+TeTBUTLHRzfB6F+blFL/6/EeXRbgcUI
Oq3MPK+MshADoV7hP6SmAVoYhs3LgPlh0OP25aMPInCPIOWm9SQrIRhaIcEt5xS2t7+i
AbucFVXJsC1dXY/U+I8m0xr28CKVvqq8yB6WOktJlUV4+gAN3SnS9bbh3LApaNXP43aP
aUhs2CV4EJ2qJKuaimxEu6+0yAUWpEy8GwnEFZeV91zCiQKYwbMVJKSlu/S4lwpKqvYB
ynRzKtOba6BfFyIWrZglWFGQmH43cfTixcpxbceiPc0qnAvR6vFuQEAFm0qRT4bvENiX
n+Bw==
X-Gm-Message-State: AOAM530PmvtfWGO7Rzb/vS0JE8/Hm+FgVGS0/9ucBgMpWRVb79N53uCo
wK/o+ARW9/7FeF+hCoukMOTwYVO/Djk41cd7PyQ=
X-Google-Smtp-Source: ABdhPJyJ3rOgsDLsOA/hDTmuLpjRensWW7z8Lj8CTt09ludpZazzGKiv9f9zAKXuDs4H6k5WCb+DSRuUgJGZCQ5eDtk=
X-Received: by 2002:aca:6543:: with SMTP id j3mr1955580oiw.158.1617189380344;
Wed, 31 Mar 2021 04:16:20 -0700 (PDT)
In-Reply-To:
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:203347
Archived-At:
Am Mi., 31. M=C3=A4rz 2021 um 10:11 Uhr schrieb martin rudalics :
>
> For decades I'm used to debug Lisp functions by calling `edebug-defun'.
> To get rid of the debugging instrumentation I'm using `eval-buffer'. In
> the not so distant past Emacs started to complain about this habit as
> follows:
>
>
> Debugger entered--Lisp error: (void-variable edebug-all-defs)
> edebug-read-and-maybe-wrap-form1()
> edebug-read-and-maybe-wrap-form()
> edebug--read(read #)
> apply(edebug--read read #)
> #f(advice-wrapper :around read edebug--read)(#)
> eval-buffer() ; Reading at buffer position 990
> funcall-interactively(eval-buffer)
> call-interactively(eval-buffer nil nil)
> command-execute(eval-buffer)
>
>
> I neither understand the error message nor why I should not be allowed
> to evaluate the buffer in this situation.
>
Not sure whether it's related, but there's a comment in edebug.el:
;; edebug-all-defs and edebug-all-forms need to be autoloaded
;; because the byte compiler binds them; as a result, if edebug
;; is first loaded for a require in a compilation, they will be left unboun=
d.
But despite this explanation these two variables aren't autoloaded.