emacs-orgmode
[Top][All Lists]
Advanced

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

Problems getting org-macs.el macros to be loaded


From: Bram Adams
Subject: Problems getting org-macs.el macros to be loaded
Date: Wed, 30 Nov 2022 14:07:15 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

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






reply via email to

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