emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bram Adams <bram.adams@polymtl.ca>
To: emacs-orgmode@gnu.org
Subject: Problems getting org-macs.el macros to be loaded
Date: Wed, 30 Nov 2022 14:07:15 -0500	[thread overview]
Message-ID: <a790186b-06c8-8e90-4cc2-8a9784163ca4@polymtl.ca> (raw)

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	other threads:[~2022-11-30 19:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30 19:07 Bram Adams [this message]
2022-11-30 22:40 ` Problems getting org-macs.el macros to be loaded Kyle Meyer
2022-12-01  1:20 ` Bram Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a790186b-06c8-8e90-4cc2-8a9784163ca4@polymtl.ca \
    --to=bram.adams@polymtl.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).