bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68851: 30.0.50; Native comp: Optimization failure for org-element-pr


From: Stefan Monnier
Subject: bug#68851: 30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
Date: Fri, 09 Feb 2024 07:42:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> Although, I am very surprised that `batch-byte-recompile-directory' does
> not trigger the error. So, something is off somewhere in the
> compilation. If not in `batch-byte-compile' then in
> `batch-byte-recompile-directory'.

`batch-byte-recompile-directory` runs a single Emacs session that
compiles all the files.  Some of those files probably (require
'org-element-ast) and presumably this happens in one of the files
compiled *before* `org-element-ast.el`, hence the problem disappears.

FWIW, I have a local hack which saves&restores the global `obarray`
around each `byte-compile-file` which should make
`batch-byte-recompile-directory` shows the same errors as compiling each
file individually.  Not sure it's worth the trouble, tho.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]