GNU bug report logs - #48585
28.0.50; Missing Edebug instrumentation for some 'if-let' variants

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sat, 22 May 2021 11:38:02 UTC

Severity: normal

Found in version 28.0.50

Full log


Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>
Cc: Philipp <p.stephani2 <at> gmail.com>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 48585 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#48585: 28.0.50; Missing Edebug instrumentation for some
 'if-let' variants
Date: Sun, 17 Jul 2022 02:13:22 +0200
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> As someone who doesn't much like `if-let`, I'll let someone else figure
> out how to that somewhat cleanly.  Also to be honest I also wonder if
> that would be worthwhile.

It's easy to get rid of the `x` occurrence that *binds* (in the
expansion) by changing `internal--build-binding' - the name of the
binding symbol doesn't matter in this case.

Then I guess we could use this `&interpose' Edebug spec but it's
undocumented and not really trivial to understand.  But looks like the
right tool for this case... (?)

Michael.




This bug report was last modified 3 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.