What do you mean by 'inning' org to the ELPA repository?

What I've done was to remove the last line in my init.el for ...orgmode.org/elpa, restarted, then tried through list-packages to D org -- which seemed to comply, but never removed org-20210920 from the elpa directory. Not being gone, the old version kept reinstalling itself. So I finally manually moved org-20210920 somewhere else. But then repeated restarts never brought org-9.5 into the list-packages listing, despite having gnu/elpa in my init.el. But I did manage to "trick" 9.5 in by installing an org package with org, naturally, needed as a dependent. It offered some other version, but the "other version" install window knew about latest-greatest 9.5, which I chose, thereby "tricking" 9.5 to be installed. Org-9.5 is now listed only as a dependency in list-packages, of all things. I commented out my org-plus-contrib, not knowing how to proceed with it. The install instructions on the main org page were not very clear, to say the least.

On Tue, Oct 12, 2021 at 1:33 AM Tim Cross <theophilusx@gmail.com> wrote:

Galaxy Being <borgauf@gmail.com> writes:

> This is in my init.el
>
> ...
> (setq package-archives '(("ELPA"  . "http://tromey.com/elpa/")
> ("gnu"   . "http://elpa.gnu.org/packages/")
> ("melpa" . "https://melpa.org/packages/")
> ("org"   . "https://orgmode.org/elpa/")))
> ...
>
> I'm guessing the last line is no more and should be removed? In any case, not getting 9.5 when I do a package update.

The 9.5 version is in GNU ELPA. However, if you have a version from
orgmode.org or melpa, the version number is probably the release date
e.g. 20211001 or example, and package.el will see that as a later
version to 9.5 (because 20211001 is a larger number!).

My suggestion would be to uninstall any version you have installed and
then install the 9.5 version from ELPA. I would also remove the
orgmode.org repository as you mention. It may also be worthwhile
'inning' org to the ELPA repository (which should mean package.el will
only look at the ELPA repository when looking for updates (and not, for
example, MELPA).

If your running the emacs 28 pretest, it already includes 9.5



--

Lawrence Bottorff
Grand Marais, MN, USA
borgauf@gmail.com