GNU bug report logs - #46573
28.0.50; Error when edebugging setting unbound place

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Tue, 16 Feb 2021 22:34:02 UTC

Severity: normal

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46573: closed (28.0.50; Error when edebugging setting unbound
 place)
Date: Fri, 05 Mar 2021 17:41:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 05 Mar 2021 12:39:51 -0500
with message-id <jwveegtebz9.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#46573: 28.0.50; Error when edebugging setting unbound place
has caused the debbugs.gnu.org bug report #46573,
regarding 28.0.50; Error when edebugging setting unbound place
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46573: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46573
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: 28.0.50; Error when edebugging setting unbound place
Date: Tue, 16 Feb 2021 23:32:58 +0100
Hello,

when edebugging something like

  (setf PLACE VALUE)

Edebug stops after PLACE and displays its "binding".  While that would
make some sense for e.g. `cl-callf', in the above situation the behavior
is confusing because when the code is run the binding of PLACE is never
referenced, so this suggests that the code uses the binding of PLACE in
some way which is not the case.

But when PLACE is even unbound (e.g. and unbound variable, or an unbound
eieio-object slot [a totally legitimate case!]), Edebug kicks me out of
the session and raises an error.  Edebug can't be used for such code.
That needs fixing.

TIA,

Michael.




[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: michael_heerdegen <at> web.de, gazally <at> runbox.com, larsi <at> gnus.org,
 46573-done <at> debbugs.gnu.org
Subject: Re: bug#46573: 28.0.50; Error when edebugging setting unbound place
Date: Fri, 05 Mar 2021 12:39:51 -0500
> I'm okay with installing this on the emacs-27 branch, but please wait
> for a day to let others comment.

Pushed,


        Stefan



This bug report was last modified 4 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.