GNU bug report logs - #68851
30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 31 Jan 2024 13:48:01 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 68851 <at> debbugs.gnu.org
Subject: Re: bug#68851: 30.0.50; Native comp: Optimization failure for
 org-element-property-raw: Handler: org-element-property-raw--inliner
Date: Wed, 31 Jan 2024 14:13:12 -0500
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner

This looks like the warning emitted by `macroexp--compiler-macro` when
a compiler macro (here, generated by `define-inline`) signals an error.

This said, the warning should include (on the next line) the actual
error encountered.  Not sure why you don't seem to have that.

In any case the origin might be a bug in your code or in `inline.el`.

Is `org-element--standard-properties-idxs` defined at the time of
macro-expansion?  If not, that would explain the error because the macro
expansion will try to execute:

    (plist-get
     org-element--standard-properties-idxs
     (inline-const-val property))

and that will start by getting the value of
`org-element--standard-properties-idxs`.


        Stefan





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

Previous Next


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