[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple versions of Org in load-path problem
From: |
Ihor Radchenko |
Subject: |
Re: Multiple versions of Org in load-path problem |
Date: |
Thu, 08 Dec 2022 07:26:35 +0000 |
David Masterson <dsmasterson@gmail.com> writes:
> I went so far as to add the following to early-init.el:
>
> (if (featurep 'org) (load-feature 'org))
> (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-9.6")
> (load-library "org")
>
> The load-library still fails with the org-assert-version error.
Indeed. It is to be expected. M-x package-install should not err here
though. In theory.
I suggest you to read `org-assert-version'. It aims to catch the
situation above and similar.
Note, however, that installation problem is different. Or rather it
should be different.
> Could it be that, when you package-install Org-9.6, it runs through a
> check where (I think) it compiles the package? I get a lot of warnings
> and 34(?) failed files. Could it be that some of the files are not
> built and, so, when I load-library, I'm picking up some of the wrong
> files from the built-in Org-9.3? Do we need to remove all versions of
> Org that is not the current version from the load-path at the very
> beginning of org.el to ensure no fall-through? Kind of a hack, but...
Maybe. It should not. That's why I raised
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59882
I'd like to see if Emacs devs have anything to say here.
--
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>
- Multiple versions of Org in load-path problem, David Masterson, 2022/12/05
- Re: Multiple versions of Org in load-path problem, tomas, 2022/12/06
- Re: Multiple versions of Org in load-path problem, Ihor Radchenko, 2022/12/07
- Re: Multiple versions of Org in load-path problem, David Masterson, 2022/12/07
- Re: Multiple versions of Org in load-path problem, David Masterson, 2022/12/08
- Re: Multiple versions of Org in load-path problem,
Ihor Radchenko <=
- Re: Multiple versions of Org in load-path problem, David Masterson, 2022/12/08
- Re: Multiple versions of Org in load-path problem, Michel Schinz, 2022/12/08
- Re: Multiple versions of Org in load-path problem, David Masterson, 2022/12/08
- Re: Multiple versions of Org in load-path problem, Tim Cross, 2022/12/08
- Re: Multiple versions of Org in load-path problem, David Masterson, 2022/12/09
- Re: Multiple versions of Org in load-path problem, Tim Cross, 2022/12/09
- Re: Multiple versions of Org in load-path problem, Sharon Kimble, 2022/12/09
- Re: Multiple versions of Org in load-path problem, Tom Gillespie, 2022/12/10
- Re: bug#59882: Multiple versions of Org in load-path problem, Eli Zaretskii, 2022/12/09
- Re: bug#59882: Multiple versions of Org in load-path problem, David Masterson, 2022/12/09