From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 65516@debbugs.gnu.org
Subject: bug#65516: 30.0.50; Edebug behavior of signaling errors in &or
Date: Wed, 30 Aug 2023 07:11:28 +0200 [thread overview]
Message-ID: <m28r9t2jy7.fsf@Mini.fritz.box> (raw)
In-Reply-To: <jwvzg29lv9w.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 29 Aug 2023 11:35:22 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> To summarize: The "culprit" is this commit:
>
> Have you confirmed experimentally that this is the culprit for your
> use case?
No, I didn't experiment. I found the circumstancial evidence sufficient
for me. Of course, there might be additional stuff and so on, as usual.
> Do you have a recipe?
Checkout cc0f546825e whidh should have an cl-flet where the first clause
of the &or has a def-form in it. Then run cl-macs-tests and/or
edebug-tests. IIRC, Stefan Kangas noticed that, which led to the
current bug.
>> + (prog1 (edebug-make-form-wrapper
>> + cursor
>> + (edebug-before-offset cursor)
>> + ;; Find the last offset in the list.
>> + (let ((offsets (edebug-cursor-offsets cursor)))
>> + (while (consp offsets) (setq offsets (cdr offsets)))
>> + offsets)
>> + specs)
>> + ;; Stop backtracking here (Bug#41988).
>> + (setq edebug-gate t)))
> [...]
>> Do you think it would be possible to let e-m-f-wrapper just put
>> something on a new "list of actions to be performed oncee the whole
>> debug spec has been matched"? I'm thinking of closures as "actions",
>> here.
>
> Maybe, but at the same time, when I read `edebug-make-form-wrapper`
> I get the impression that it matches `specs` quite early on, before it
> does much damage to the global state, so I think I'd need to step
> through the code to better understand what was the problem that the
> patch intended to fix.
Ok, thanks.
I'm thinking of how to proceed from here.
IMO, there's at this point enough info now that someone (tm) could fix
this, but the cost/benefit ration is sp high that I at least can't bring
me to to do it. I can only offer to put it on my todo list, which is,
TBH, rather a to-procrastinate list.
Any other takers?
If not, I'd say let's close this or what else seems appropriate to the
maintainers.
next prev parent reply other threads:[~2023-08-30 5:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 6:28 bug#65516: 30.0.50; Edebug behavior of signaling errors in &or Gerd Möllmann
2023-08-26 12:04 ` Gerd Möllmann
2023-08-26 20:39 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-27 6:26 ` Gerd Möllmann
2023-08-27 15:30 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-28 5:44 ` Gerd Möllmann
2023-08-28 12:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-29 7:07 ` Gerd Möllmann
2023-08-29 15:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-30 5:11 ` Gerd Möllmann [this message]
2023-08-27 15:32 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-27 22:58 ` Michael Heerdegen
2023-08-28 3:26 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-28 5:52 ` Gerd Möllmann
2023-08-28 5:44 ` Gerd Möllmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28r9t2jy7.fsf@Mini.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=65516@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.