From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UMDvNmt4NGaZjAAAqHPOHw:P1 (envelope-from ) for ; Fri, 03 May 2024 07:38:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UMDvNmt4NGaZjAAAqHPOHw (envelope-from ) for ; Fri, 03 May 2024 07:38:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dakEluIe; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714714731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kRK+RMl244iuOo7y77LCEjJAyRMx2R8XnRPe4Sqdkb0=; b=rBmPlvbtdYmrUQNtXB9Bo7FNGDG7AgF4sw6QbC2hJICN8YoHUp1P+B8rQ1kGK2oMdxvzUB tbrD8vGCJDWEoAdnrjcoKJtBG0tvaANRvpEAO3osDrka8np+xuEU2gXYgKaVsKJArUm15G tMGAQlan6gw+1UZGi7pyXOjY2DsApAf9zvo05N+UElG+jwhv4S2QwDKue0mv8r4qTaPtq7 6hw3Ccr05HkiR9gWcXCWXW5F+fcA+nwK/6JRJ7avw3vgsWcW2ajFkSagpnoiDJHBycp8Gm RJKAi46XZDgNMsEY3NTmw0TXimoxa2Wht7J1E7HMg7JUdMeiWNuWgprsbH5asQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dakEluIe; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714714731; a=rsa-sha256; cv=none; b=QHh0MlrLBVt+RJ2Cz6/KI/0ntojA4lKmg7mk4el7WKJ5ThDQvFt5KYMsnjlvh0DYyre87N 4p2AMSEouE0VkFIoxtx7wsg1vw/P9n6zEn0rMZVqMsOQ3rFElVowuALV7WXP1dRudBXs9x 7VQrBHC/lqh/651PqtRV9Qgyp22TgUVcotngJGMdLYICzY4QekCh+vR0FXIXCYgjKW0NBy bLMw3IliYVEmJqFn4jIL7jaUqNyDbGp3rerPcOLH9xf5USliYbK1G88XkHxiz6DWa5u4w8 q9vxRh6CrHljiGWaDLg81Mvers7Otngbvfm+jI2uzxDO8IVGmq+HCT0Ipe34jQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F36923ACE5 for ; Fri, 3 May 2024 07:38:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2lcE-0000oE-W5; Fri, 03 May 2024 01:37:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2lcC-0000ny-Ar for emacs-orgmode@gnu.org; Fri, 03 May 2024 01:37:48 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2lby-0007is-85 for emacs-orgmode@gnu.org; Fri, 03 May 2024 01:37:48 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-51f929b9f10so58996e87.2 for ; Thu, 02 May 2024 22:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714714652; x=1715319452; darn=gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kRK+RMl244iuOo7y77LCEjJAyRMx2R8XnRPe4Sqdkb0=; b=dakEluIefs4o4/iXtm/mL3BtjHsEKvNo/fx3gJYp6EAMkIaFHdBK559U+r9zpnDPN0 W6VHRUCcqMlJ6A6/UsSaOp+38z9xJ/LFJlMswaDu2fLh3VBXC3Z7XfgdvUhAipjGRGzC YcS61hutO1u0AMKIYhHEZBgr4Et12AE0rLM0QASdaROmFUk40ZoUGRc5eCByWh9OuBdK A1YPPirtfXHldbQEOKez6AeNweiYRWISokvZCrt2LtdrZ/lVv7VdoDJrnDRwQS/Q6rAR 5Y4Y8rAKInlNIByiW9XSH7BlNUoq0pkOqFK+3lUx7sHRNoDLZ+SZpsoaPVk/5Pgt4sj+ 7Dig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714714652; x=1715319452; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kRK+RMl244iuOo7y77LCEjJAyRMx2R8XnRPe4Sqdkb0=; b=a8KUQ829Wf9xnhBDzUDnBus2OHjudH5nS6dfqoRLmlF/q1uqqTc7SXihTmkM9hXuqG VaRdWAE7wwcUdZw4FGguhNWFLJ4tslz5wZ2AucLh7vWx5tUiJuaWwVnG2ZKy0dYXVSrY TiuBy80JtFZ8Z6cndCtjVSw2l21Cfb8XE8Tyz+3lb/+ipuQHmKbOpPAQJOXtbbg1I/RH uoGvQelfW9SrzEpQJ2O6MlM5K69y66b1k98CXhn/piaz2lFacvrDzneeLETzFOnTffLl Sxvq1GKbPn6mJDFR6ZQR8NWkvjKklt0l0BSLQslb3vmQMFL9vKfzjHDuLjUxBUbPRR1D W6Ew== X-Forwarded-Encrypted: i=1; AJvYcCUBq0fJIgQaH1iw7AKhcezBuV1ptOAbGI3jPrl2V7U0Rrg/v4H4eltM/xX9nmC9Tc7xXtUYVabZZV0vfS99yu65IYDCS8o= X-Gm-Message-State: AOJu0YyVPQuXKnDGuTpI36uNkHJuw7TLU2sZWnMW7WXK37aiJmwRmgQh W5SMlIooyMoMwEiITV01JYUJj4SHKSrpPbJGC3FLaXDaz9XJQmmrSbVXyrgvUkoVFfQnd8aeJ/m zOz+GsA/7DoL6p0s8a3QwK2HQK/QbGvKeu/o= X-Google-Smtp-Source: AGHT+IEeUsC6O8EtZoqItPk9ThcuRng7kEt7S7jTORt+Rf2U5z8jXeNatmBGIU0Wdi9rZIyXl0NhvzaBz4CcmqEDWKY= X-Received: by 2002:a05:6512:311a:b0:51f:3e42:1065 with SMTP id n26-20020a056512311a00b0051f3e421065mr878613lfb.1.1714714651433; Thu, 02 May 2024 22:37:31 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6520:587:b0:28b:8855:7106 with HTTP; Thu, 2 May 2024 22:37:29 -0700 (PDT) In-Reply-To: <874jblk4z9.fsf@localhost> References: <874jblk4z9.fsf@localhost> From: Samuel Wales Date: Thu, 2 May 2024 22:37:29 -0700 Message-ID: Subject: Re: HowTo: Upgrade org-mode installation from the command-line To: Ihor Radchenko Cc: "Cook, Malcolm" , Org-mode Content-Type: multipart/alternative; boundary="000000000000b0a3e00617861d64" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.91 X-Spam-Score: -8.91 X-Migadu-Queue-Id: F36923ACE5 X-Migadu-Scanner: mx13.migadu.com X-TUID: it0sEktlpr8y --000000000000b0a3e00617861d64 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sunday, April 28, 2024, Ihor Radchenko 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 =E2=80=98package-initialize=E2=80=99 is called twice during Ema= cs 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 =E2=80=98package-initialize=E2=80=99 from your init-fil= e. If you have code which must run before =E2=80=98package-initialize=E2=80=99, p= ut 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. --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com --000000000000b0a3e00617861d64 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.=C2=A0 Failure to do so wil= l
> 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 n= ot say explicitly whether it is called automatically.

<= div>it says "If =E2=80=98package-initialize=E2=80=99 is called twice d= uring Emacs startup,
signal a warning, since this is a bad idea except i= n highly
advanced use cases.=C2=A0 To suppress the warning, remove thesuperfluous call to =E2=80=98package-initialize=E2=80=99 from your init-f= ile.=C2=A0 If
you have code which must run before =E2=80=98package-initi= alize=E2=80=99, put
that code in the early init-file."
i ran package-initialize in my .emacs and checked c-h e and di= d not find a warning.=C2=A0 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.co= m

--000000000000b0a3e00617861d64--