GNU bug report logs - #69573
Eager macro-expansion failure: (wrong-type-argument integer-or-marker-p nil)

Previous Next

Package: emacs;

Reported by: Gabriele Nicolardi <gabriele <at> medialab.sissa.it>

Date: Tue, 5 Mar 2024 23:55:01 UTC

Severity: normal

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gabriele Nicolardi <gabriele <at> medialab.sissa.it>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Andrea Corallo <acorallo <at> gnu.org>, 69573 <at> debbugs.gnu.org
Subject: bug#69573: Eager macro-expansion failure: (wrong-type-argument integer-or-marker-p nil)
Date: Sun, 17 Mar 2024 10:33:59 +0100
Il 15/03/24 18:24, Stefan Monnier ha scritto:
>> I'm sorry, but I'm not sure what to do to test the modification.
>> I have Emacs 29.2 installed via snap. I suppose I would need to
>> install the modified version by downloading it from the repo.
>> This is something I've never done before.
>> If necessary, I could try doing it on a virtual machine.
> If you want a lightweight approximation to the real test, you could add
> the following to the beginning of your init file:
>
>      (with-eval-after-load 'comp-run
>        (require 'cl-lib)
>        (defun comp-subr-trampoline-install (subr-name)
>          "Make SUBR-NAME effectively advice-able when called from native code."
>          (when (memq subr-name comp-warn-primitives)
>            (warn "Redefining `%s' might break native compilation of trampolines."
>                  subr-name))
>          (let ((subr (symbol-function subr-name)))
>            (unless (or (not (string= subr-name (subr-name subr))) ;; (bug#69573)
>                        (null native-comp-enable-subr-trampolines)
>                        (memq subr-name native-comp-never-optimize-functions)
>                        (gethash subr-name comp-installed-trampolines-h))
>              (cl-assert (subr-primitive-p subr))
>              (when-let ((trampoline (or (comp-trampoline-search subr-name)
>                                         (comp-trampoline-compile subr-name))))
>                (comp--install-trampoline subr-name trampoline))))))
>
> and then try and reproduce the problem.
>
>
>          Stefan
I tried to copy the code provided at the beginning of my .emacs file, 
but the issue persists.

Gabriele






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

Previous Next


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