unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46573: 28.0.50; Error when edebugging setting unbound place
@ 2021-02-16 22:32 Michael Heerdegen
  2021-02-16 22:51 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Michael Heerdegen @ 2021-02-16 22:32 UTC (permalink / raw)
  To: 46573; +Cc: Lars Ingebrigtsen, Stefan Monnier


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.







^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-03-05 17:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 22:32 bug#46573: 28.0.50; Error when edebugging setting unbound place Michael Heerdegen
2021-02-16 22:51 ` Lars Ingebrigtsen
2021-02-16 23:04   ` Stefan Monnier
2021-02-16 23:09     ` Lars Ingebrigtsen
2021-02-16 23:19       ` Lars Ingebrigtsen
2021-02-16 23:21         ` Lars Ingebrigtsen
2021-02-17 15:29           ` Eli Zaretskii
2021-03-01 21:17             ` Stefan Monnier
2021-03-02  5:58               ` Eli Zaretskii
2021-03-05 17:39                 ` Stefan Monnier
2021-03-03 23:13               ` Michael Heerdegen
2021-03-03 23:26                 ` Stefan Monnier
2021-03-03 23:47                   ` Michael Heerdegen
2021-02-17  0:00       ` Stefan Monnier
2021-02-24  0:59         ` Gemini Lasswell

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).