emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: "Cook, Malcolm" <MEC@stowers.org>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: HowTo: Upgrade org-mode installation from the command-line
Date: Thu, 2 May 2024 22:37:29 -0700	[thread overview]
Message-ID: <CAJcAo8uOO8+H0kYiK5gj=jRS3fA2B0eCuU38faQg0eHipr4pcA@mail.gmail.com> (raw)
In-Reply-To: <874jblk4z9.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

On Sunday, April 28, 2024, Ihor Radchenko <yantar92@posteo.net> wrote:

> > Note: For the upgraded version to be loaded by emacs, you mush place
> > `package-initialize` early in your init.el.  Failure to do so will
> > result in the old system version to be loaded, as can be seen:
>
> This is only true when running emacs -Q or emacs -q.
> For normal emacs invocation, since Emacs 27, by default, Emacs calls
> (package-initialize) automatically on startup.
>
> strangely in my 27, help on package-initialize does not say explicitly
whether it is called automatically.

it says "If ‘package-initialize’ is called twice during Emacs startup,
signal a warning, since this is a bad idea except in highly
advanced use cases.  To suppress the warning, remove the
superfluous call to ‘package-initialize’ from your init-file.  If
you have code which must run before ‘package-initialize’, put
that code in the early init-file."

i ran package-initialize in my .emacs and checked c-h e and did not find a
warning.  however, without running it, it still seems to have been run.



-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com

[-- Attachment #2: Type: text/html, Size: 1604 bytes --]

  parent reply	other threads:[~2024-05-03  5:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-24 19:50 HowTo: Upgrade org-mode installation from the command-line Cook, Malcolm
2024-04-28 13:10 ` Ihor Radchenko
2024-05-02 20:46   ` Cook, Malcolm
2024-05-03 12:28     ` Ihor Radchenko
2024-05-03  5:37   ` Samuel Wales [this message]
2024-05-04  1:14     ` Samuel Wales

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='CAJcAo8uOO8+H0kYiK5gj=jRS3fA2B0eCuU38faQg0eHipr4pcA@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=MEC@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).