Hi,
I updated to a newer 29 release branch commit, and now things work, must
have been a glitch.
Kind regards,
Bram Adams
On 30-11-22 2:07 p.m., Bram Adams wrote:
Hi,
I just built the latest Emacs 29 version from the upstream release
branch, which comes with org 9.6-3-ga4d38e (no other org version
installed).
Overall, it seems like org-macs.el is not loaded properly, since I get
issues with invalid function errors for "org-assert-version" and
"org-current-text-indentation", even though those are actually macros.
The "org-assert-version" issue caused org to misbehave entirely, until
I added an empty function definition for "org-assert-version" (native
compilation still chokes on this). I could not find a workaround for
the "org-current-text-indentation" case, which is used when narrowing
code blocks.
Adding "(require 'org-macs)" early in my init file did not resolve
anything.
FWIW, here's how I've been loading org mode since Emacs 26:
==
(use-package org
:commands (org-heading-components org-read-date)
:diminish org-indent-mode
:mode (("\\.org$" . org-mode))
:init
(add-hook 'org-load-hook
#'+org-init-babel-lazy-loader-h)
:config
[...]
)
==
Any ideas what could go wrong?
Kind regards,
Bram Adams