syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.56k stars 4.9k forks source link

built-in org package used. why? #16464

Open vibrys opened 1 week ago

vibrys commented 1 week ago

I'm running:

org layer is enabled. org-version returns:

org-version is a variable defined in ‘org.el’.
Its value is "9.6.15"

in .emacs.d/layers/+emacs/org/README.org, I can read:

Spacemacs uses the =org= version from the ELPA repository
instead of the one shipped with emacs. Then, any =org= related code should not
be loaded before =dotspacemacs/user-config=, otherwise both versions will be
loaded and will conflict.

package-archives:

package-archives is a variable defined in ‘package.el’.

Its value is
(("melpa" . "https://melpa.org/packages/")
 ("gnu" . "https://elpa.gnu.org/packages/")
 ("nongnu" . "https://elpa.nongnu.org/nongnu/"))

from https://elpa.gnu.org/packages/org.html:

Description
    Outline-based notes management and organizer
Latest
    [org-9.7.5.tar](https://elpa.gnu.org/packages/org-9.7.5.tar) ([.sig](https://elpa.gnu.org/packages/org-9.7.5.tar.sig)), 2024-Jun-22, 9.69 MiB
Maintainer
    Bastien Guerry <bzg@gnu.org>

I also don't see org package present elpa/29.3/develop directory.

What did I miss?

I'd like to have newer org version installed into my spacemacs (at least newest 9.6.X) and I don't understand packages update doesn't take the newest version.

nixmaniack commented 6 days ago

I had a similar issue and org-version was stuck on 9.6.15. Spacemacs defines the minimum version of org to be used here. I am not sure if it's getting cached somewhere (compiled lisp files?) but what I did was changed the :min-version on that line to 9.6.30 and then restarted Spacemacs (SPC q R) which installed latest org-version 9.7.5.

After that, I reverted that :min-version change without any issues.

vibrys commented 13 hours ago

did the job for me! Thank you