From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 cD9qCdNKLmZJKwAAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Apr 2024 15:10:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cD9qCdNKLmZJKwAAe85BDQ (envelope-from ) for ; Sun, 28 Apr 2024 15:10:43 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="h/Xyhjz8"; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714309843; 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=JkjFi9ScKoQrpmo3QAlLeIcycTaZ3Nf3YGFDtCIvxW8=; b=UIRSWm2yTwcC4kTNVvB0fy3lxEy5jdu3k3YmLrpy8jK9yCXbUDYNixPA0BBV4E2F/gBbEs NW+EdPPmXph+RQrbJKueE3UOiMheix0RlGT7cbwNV0TYWbLJ4qmVm6Odsqiqpf2KcihHLT OjiyuwsYoaDjnKnnVzJvCPDAze2DbO3w502eZEbKWOHFhutLXeeQua1naEqwvZ3vhSmwqo x6KcsaC1u7+Jc+Llqnygb65NN6yTJmStFV0iMl1qRILyMnL66I8OuxSQEeoL1Lr+3zUFbS kfrEop2YtJ2+sPi7fpMwI49kybBAON+fOWxRS76cBZFGwsNe/zQBtd35F7V6MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="h/Xyhjz8"; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714309843; a=rsa-sha256; cv=none; b=Gl9obeohcaPaXV1gor+uyerSavhJSyVyBVzeGrrczUtEF287SafXBtEY0gTW2lFWIhir/T YoEoqxxb7EvjqHmYeEB2vSVEuQY7DJhumWSujUwmS+Rj2C7VV2kAFeZW7IykBT0VvKDzN7 ia9FCrSA/1vnL5cUXpAKYdllTFOiZovTmHxPrpnXrlAXxH7V6v57UzLEvx8CCuNHaLongD Ou4P9fkw6nu2QNuE+XCLKOkrX7yFp/EYIfkIMG+aBM+PvAqJFptftQDMr5WaTeZoq+WQAM jwLA4aN4adnYrVOw6LZx6ZO51HwVoxieqrVQD666fYb+PZl+seELPX8XsbU7oQ== 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 0547850291 for ; Sun, 28 Apr 2024 15:10:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s14Hl-0001j1-7i; Sun, 28 Apr 2024 09:09:41 -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 1s14Hj-0001ij-4L for emacs-orgmode@gnu.org; Sun, 28 Apr 2024 09:09:39 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s14Hg-0005g8-MH for emacs-orgmode@gnu.org; Sun, 28 Apr 2024 09:09:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 07D9D240103 for ; Sun, 28 Apr 2024 15:09:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714309774; bh=ZrEoJhnMGjP+/9g9no+bg9lonAGLn2H+awWtKI0j7AM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=h/Xyhjz8GX/6JTlqFprM19qUjD86xsTTEFrd+h5fdckkwRYGFSdpC6IZjgzuEQIDa OvKUTbCFfJS0sIiQaY1ig5Kss+fj9MsGnzux1w4kvAAY9ZCdEVcvsz0ks5ldZmzdyW HuN9UbtaYew6GFY9p4/tsML+kRVsZ2Bys/0leYThVCNvQUIo28QbjKyy6jxN+w1CgA 9MvFXNGA62uw7wp/tQ2hdYqmCODGZEEojZhgPO+uOfDkFMb0Iv4gCNeVArXQWBbj0D dfetz4wJIyUhcwJIup064Igw00DhJcXls8lETT+sMEGGlbqdLzUESNglxJPKLKy0E9 xSRbL5lUja4nQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VS6Hc6XFDz6tvy; Sun, 28 Apr 2024 15:09:32 +0200 (CEST) From: Ihor Radchenko To: "Cook, Malcolm" Cc: Org-mode Subject: Re: HowTo: Upgrade org-mode installation from the command-line In-Reply-To: References: Date: Sun, 28 Apr 2024 13:10:34 +0000 Message-ID: <874jblk4z9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: -9.55 X-Spam-Score: -9.55 X-Migadu-Queue-Id: 0547850291 X-Migadu-Scanner: mx13.migadu.com X-TUID: 4uxD7zJz4C/Q "Cook, Malcolm" writes: > The section on org-mode [[https://orgmode.org/org.html#Installation][Installation]] entitled "Using Emacs packaging > system" might be improved with the following advice: Thanks! > 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. > Note further that if the above upgrade command was done in an emacs > shell buffer, you will need to restart emacs to pick up the updated > package. Failing to do so will result in `meta-x org-version` > reporting the old version: > > #+begin_src src > Org mode version 9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/) > #+end_src > > but after restart with my init.el file it reports: > > #+begin_src src > Org mode version 9.6.27 ( @ /home/mec/.dotfiles/emacs/.emacs.d/elpa/org-9.6.27/) > #+end_src Examples are probably a bit too much for the manual. It should be sufficient to ask to restart existing Emacs sessions, if any. May you prepare a patch modifying doc/org-manual.org with your suggestions? See https://orgmode.org/worg/org-contribute.html -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at