Subject: bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring

From: Gerd Möllmann <[email-masked]>
Date: Fri, 25 Aug 2023 08:33:02 +0200

Michael Heerdegen <[email-masked]> writes:

> Gerd Möllmann <[email-masked]> writes:
>
>> That's correct.  Setting edebug-gate to t makes not matching an error.
>> That's the, confusing to me, invalid-read-syntax.  I understand that.
>
> Would it maybe work (as a workaround) to use &interpose and bind
> edebug-gate -> nil in the matching function?

I don't think so.  The docs say for &interpose

     means that Edebug will first match SPEC against the code and then
     call FUN with the code that matched ‘spec’

i.e. it first tries to match, which will give an error.