[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destr
From: |
Michael Heerdegen |
Subject: |
bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring |
Date: |
Sun, 20 Aug 2023 05:57:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> (debug ((&rest [&or (&define [&name symbolp "@cl-flet@"]
> [&name [] gensym] ;Make it unique!
> cl-lambda-list
> cl-declarations-or-string
> [&optional ("interactive" interactive)]
> def-body)
> (&define [&name symbolp "@cl-flet@"]
> [&name [] gensym] ;Make it unique!
> def-body)])
> The second &define is for the (FN EXPR) bindings. It comes after the
> &define for "normal" function bindings because because, for some
> reason, apparently the second &define also matches the other case.
That's because you use 'def-body' which matches any number of body
expressions. I think this is not correct: we are expecting a single
form.
Apart from that: yes, something like this... I did not yet understand
the &name magic.
And i wonder whether we should apply the distributive law and factor out
the first few identical specs inside the &or.
Michael.
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, (continued)
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/16
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/17
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Brandon Irizarry, 2023/08/17
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Eli Zaretskii, 2023/08/17
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/17
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/17
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/18
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/18
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/18
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/19
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring,
Michael Heerdegen <=
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/20
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/20
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/20
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/20
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/21
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/21
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/21
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/21
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Gerd Möllmann, 2023/08/22
- bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring, Michael Heerdegen, 2023/08/22