GNU bug report logs - #70368
[PATCH] Use a dedicated type to represent interpreted-function values

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sat, 13 Apr 2024 19:58:03 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 70368 <at> debbugs.gnu.org
Subject: Re: bug#70368: [PATCH] Use a dedicated type to represent
 interpreted-function values
Date: Mon, 29 Apr 2024 13:18:47 -0400
> Here is something else: `edebug-pop-to-backtrace' now emits lots of
> warnings like this:
> | Warning (emacs): Edebug--strip-instrumentation expected an interpreted function:
> | apply

Could you post an actual recipe?

The patch changed `edebug.el` only in the following way:

            (when (and skip-next-lambda
    -                  (not (memq (car-safe fun) '(closure lambda))))
    +                  (not (interpreted-function-p fun)))
              (warn "Edebug--strip-instrumentation expected an interpreted function:\n%S" fun))

so AFAICT the old code would have burped on `apply` just as well.

And I don't get such a warning on my attempts to use `edebug-pop-to-backtrace`.


        Stefan





This bug report was last modified 1 year and 22 days ago.

Previous Next


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