Guillaume MULLER <guillaume.mul...@univ-st-etienne.fr> writes: > I'm not sure what did the trick, but if someone is looking for a solution, > it's probably a mix of: > - disabling org in Doom's init.el and/or > - manually pulling & compiling the versions in > ~/.emacs.d/.local/straight/{repos,build-27.1}/org and/or > - changing the :pin setup in ~/.emacs.d/modules/lang/org/packages.el to point > to the latest commit.
AFAIU, :pin should be the right way that will not break updates. > FWIW, "list-packages" only shows the 9.3 builtin version of org, so my > current working 9.5.4 org version seems to actually be loaded from the code > previously installed by Doom and manually (re)compiled by me, even if org is > disabled in init.el ... This is because list-packages is not used by Doom. list-packages is a built-in Vanilla Emacs package manager, while Doom uses straight.el package manager. >> What do you mean by "breaks too many other things in org"? > > When calling some functions (e.g. org-meta-return or org-ctrl-c-ctrl-c in a > code block or hitting C-x C-c to quit Emacs) I got errors like "function xxx > is void" or "wrong arguments listp, xxx". That sounds like "mixed" installation of built-in and Doom's versions of Org. Should not be an issue as long as you manage to find the proper way to configure Doom. Best, Ihor