From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SJMkANiRkWNTdwAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 08:27:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kMguANiRkWOUBgAA9RJhRA (envelope-from ) for ; Thu, 08 Dec 2022 08:27:20 +0100 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 96E7829247 for ; Thu, 8 Dec 2022 08:27:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3BJD-0007fq-Le; Thu, 08 Dec 2022 02:27:07 -0500 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 1p3BJ4-0007cG-4Y for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:26:58 -0500 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 1p3BIw-0000MH-US for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:26:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B2BF2240103 for ; Thu, 8 Dec 2022 08:26:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670484406; bh=DrtsoQpqZJXlrkvdEYqEG/XW/i7oMiFmhaveVl0J42Y=; h=From:To:Cc:Subject:Date:From; b=O/tTnL6pZOylySoC0Mz76EbCUgveEGlzsvtPGcnFftPdY7cPxbOy9Ourv4uPhhJ9H vi87s+sdb9/5fnUaYeIR3ppmUp+X8n3/B4f4z3FmxDBhge/CubMA12YFhOxMjT3RoN zD1Y2zG+9VL/C971xBrxtQSkZqpJ3uW8E74/ffVWwKkm7O+hMZ5OIiRvzcs6/AXdE7 56jqo9dpyTL66wR/TpeWLq/jAGxKaVi4O4z5k9R1IEdMHvrMxHWXebH6FY4+cnCHZg SmczqSlfpIm9HJ8JHhANZvKHaRxUfQz6DCvcUMSJ7Uus3ojiOihx2pebAeyVRM4wT7 OzJpejwSnR01A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NSQh347hkz9rxL; Thu, 8 Dec 2022 08:26:43 +0100 (CET) From: Ihor Radchenko To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: Multiple versions of Org in load-path problem In-Reply-To: References: <87tu27jq7h.fsf@localhost> Date: Thu, 08 Dec 2022 07:26:35 +0000 Message-ID: <87k032nyok.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: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670484439; 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=10i1GG2e/ENwmhMtSWozqTGQS1pkPVJLwhN10aK8tJs=; b=axg32atl0/LisbDwbp10XQSxawoW0g4ikgtVJgbK/30Ngb8eadvAs5SyxFioAQGpM59UiA SRb8soQNsljFDKmozFCg+Pbn2UcD645+zsqcDCPgj7tZELoJrZj7gUa3J0ulRZGHBxrs+v Wx0oHIYZHi+dZhbvBRvI8D67h+7qhmaOLuB4UkYzUnIqLeqJW6UvF8W7ofsCPPGkSH5PAL rqlnIUJDu729Yp/GUepkLHihpty30yGRn2mNUsCdr/DNAzBq7L9427jKSS+QmJcEngzxiJ 7QUkH/99D/v95HQzNz4rsGWQMW/Rhk5aByv62SJkZXyCXthV1zR4GsHvnxo9CA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670484439; a=rsa-sha256; cv=none; b=DM9WYgNvqXSFVoobKy4UKl6Tgv0rahDGU5tMNXBugmK5ZXubZw+gaAlo4498y9V0j/VJLR utY+v8Zi7L6AXYUZ00zQz0jfMm2mtJZ9bSOiorBnqPJZE/LnEczFFq8F6rcDbKaEFecKkn ZGlOSuCRdwwRbefS9hKqE5+7vMCE/82wJGnpDbxG2kLZkRQocPtpdE13Bz56hCE/BfCGJc S7wk8rL5NMT2ufda8xTcFYNekL24LF3R6qtYc0Gmki3VS7GWl0pjD5t3PxGFZ0G21UBVEw nvydSOp+Ht1Qg7Fg+8958i7ymWMre6rZv9djnX5KUERJXEoLcM1uaEhesNcqeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="O/tTnL6p"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="O/tTnL6p"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 96E7829247 X-Spam-Score: -3.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: /CL16wLkD41G David Masterson writes: > I went so far as to add the following to early-init.el: > > (if (featurep 'org) (load-feature 'org)) > (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-9.6") > (load-library "org") > > The load-library still fails with the org-assert-version error. Indeed. It is to be expected. M-x package-install should not err here though. In theory. I suggest you to read `org-assert-version'. It aims to catch the situation above and similar. Note, however, that installation problem is different. Or rather it should be different. > Could it be that, when you package-install Org-9.6, it runs through a > check where (I think) it compiles the package? I get a lot of warnings > and 34(?) failed files. Could it be that some of the files are not > built and, so, when I load-library, I'm picking up some of the wrong > files from the built-in Org-9.3? Do we need to remove all versions of > Org that is not the current version from the load-path at the very > beginning of org.el to ensure no fall-through? Kind of a hack, but... Maybe. It should not. That's why I raised https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59882 I'd like to see if Emacs devs have anything to say here. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at