[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on pcase
From: |
Michael Heerdegen |
Subject: |
Re: Question on pcase |
Date: |
Fri, 30 Oct 2015 02:33:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Johan Bockgård <address@hidden> writes:
> Edebug already understands most of pcase's patterns, but it doesn't step
> "into" the SYMBOL bindings.
>
> Try this:
>
> pcase.el: Support edebug stepping of SYMBOL patterns
>
> * lisp/emacs-lisp/pcase.el (pcase-SYMBOL) New edebug spec.
> (pcase-PAT): Use it.
> (pcase--edebug-match-symbol): New function.
> (pcase-QPAT): Improve handling of cons patterns.
Very nice!
Do you think we could install this? I don't feel familiar enough with
edebug to judge the quality of your patch, but I'm impressed that Edebug
can be made working for `pcase' with that few lines...
Thanks,
Michael.
- Question on pcase, Oleh Krehel, 2015/10/22
- Re: Question on pcase, Michael Heerdegen, 2015/10/22
- Re: Question on pcase, Eli Zaretskii, 2015/10/23
- Re: Question on pcase, Oleh Krehel, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Oleh Krehel, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Oleh Krehel, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Johan Bockgård, 2015/10/27
- Re: Question on pcase,
Michael Heerdegen <=
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Oleh Krehel, 2015/10/23
- Re: Question on pcase, Eli Zaretskii, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Eli Zaretskii, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23
- Re: Question on pcase, Eli Zaretskii, 2015/10/23
- Re: Question on pcase, Przemysław Wojnowski, 2015/10/23
- Re: Question on pcase, Michael Heerdegen, 2015/10/23