emacs-devel
[Top][All Lists]
Advanced

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

Re: Permanently fix org versioning breakage during builds?


From: Ihor Radchenko
Subject: Re: Permanently fix org versioning breakage during builds?
Date: Sun, 24 Dec 2023 17:24:34 +0000

Ihor Radchenko <yantar92@posteo.net> writes:

> João Távora <joaotavora@gmail.com> writes:
>
>> OK.  So AFAIU org-assert-version macro is itself a tool that you use to
>> "check sanity" in the face of the maroexpansion-site recompilation
>> problems posed by _other_ macros and their expansions.
>
> Yes.

In addition, `org-assert-version' solves another problem with two
version of Org mode (ELPA/git version/manually installed and built-in)
loaded at the same time. This problem is not about macros per-se, but
about situations like

init.el:

(require 'org) ;; built-in org libraries are loaded
(push "/path/to/newer/org" load-path)
(require 'org-inlinetask) ;; org-inlinetask is loaded from the new path,causing 
conflicts

Such situations are fairly common in user configurations.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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