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

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
>
>
>



      parent reply	other threads:[~2022-12-01  1:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=5473cac8-f501-4eca-a248-b1f8e7672790@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).