emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: Paul Schlesinger <phschlesinger@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: User
Date: Thu, 24 Nov 2022 07:17:52 +1100	[thread overview]
Message-ID: <86a64h76n0.fsf@gmail.com> (raw)
In-Reply-To: <CAG8VtR0QVGnOFTXRJU+JbV8q4MD4ndrxeZxqxnYKJ5RU-zhAiw@mail.gmail.com>


Paul Schlesinger <phschlesinger@gmail.com> writes:

> Have been using org mode for more than 10 years and package manager since emacs 26.  When I moved to emacs
> 28, the included org package was 9.4x and a nag message to install org from the elpa repository appeared everytime
> an org file is processed.  I run emacs on windows and list-packages does not show and "org" package to install
> although there are many "org-xxx" packages.  Suggestions appreciated!
>
> Paul H. Schlesinger MD, PhD
> Washington University School of Medicine
> Don't let your models of reality become confused with reality itself.

What is the setting for your package-archive variable? This is the
variable which tells Emacs what package archives to use. The default is

'(("gnu" . "https://elpa.gnu.org/packages/")
 ("nongnu" . "https://elpa.nongnu.org/nongnu/"))

You need to ensure the above two entries are in the list for
package-archive. Note that you may also have other repositories, such as
melpa, but you should have the two above repositories as a minimum.

It is also possible you have something in your .emacs or init.el file
which is preventing package.el from performing correctly. There has been
some evolution/refinement in package.el since it was first released and
I've seen users have problems because of old configuration settings in
their init file which are no longer compatible.

These days, with modern Emacs versions, you don't need to have any
package.el configuration in your init.el to get basic operations to
work. Therefore, if your still encountering problems, I would start by
commenting out any configuration relating to package.el. The only
configuration code many people now have for package.el is code to add
additional ELPA repositories, like MELPA, to the package-archive list. 

Finally, note that the one big change which did happen wrt org is that
org is no longer distributed via a separate private org ELPA
repository. The org package is now distributed via GNU ELPA (first entry
in above setting) and the contrib package in NONGNU ELPA (second entry
above). If your configuration is old enough, you may have code which is
'pinning' Emacs/package.el to only use the old orgmode.org
repositories. Therefore, highly recommend you review your init.el.

Finally, as it has been a while since you updated, don't forget to go
through the NEWS file. There is likely to be changes that may be a
surprise or require adjustments to your work flow and being aware of
them can save a lot of time.

good luck.


  reply	other threads:[~2022-11-23 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 17:33 User Paul Schlesinger
2022-11-23 20:17 ` Tim Cross [this message]
2022-11-23 21:19 ` User Jeremie Juste

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a64h76n0.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=phschlesinger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).