emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems getting org-macs.el macros to be loaded
@ 2022-11-30 19:07 Bram Adams
  2022-11-30 22:40 ` Kyle Meyer
  2022-12-01  1:20 ` Bram Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Bram Adams @ 2022-11-30 19:07 UTC (permalink / raw)
  To: emacs-orgmode

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-01  1:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-30 19:07 Problems getting org-macs.el macros to be loaded Bram Adams
2022-11-30 22:40 ` Kyle Meyer
2022-12-01  1:20 ` Bram Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).