From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PKsGl4tkmNwUQEAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 19:30:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8JK8Gl4tkmMzYQAAauVa8A (envelope-from ) for ; Thu, 08 Dec 2022 19:30:54 +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 F35871496D for ; Thu, 8 Dec 2022 19:30:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3Len-00028D-QS; Thu, 08 Dec 2022 13:30:06 -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 1p3Leg-00027J-DR for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 13:29:59 -0500 Received: from mail-mw2nam10acsn20807.outbound.protection.outlook.com ([2a01:111:f400:7e89::807] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3Lee-0002tA-0T for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 13:29:57 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l8tBhv8oP8+cdPyN7LF1WrMZdyKQ3OOIzv8VqR7PKdvkzOZnNx7aq0IWHm/9eX3Oh96R6ovlj9ppGVmiGIEhL/V7qnmLQGuVpwFAb8MIU/N7Fc93YL7NiDg0BA5W5TNBaTiBT0pR0SdE+IEaIpexRAFS/p4qeLQb/GrM1g3jDuvE2Xz9HYK/IiK/JxVWIHV4cvIGFKzBNVzHuDrF7/XTqM+g4tdtxkREqc5M/21l1XdI2SQBOt9AyndAKS3VLvL5sNK9nzls+GfwpCew7I+4XCRBWUR0pHPR8tBe49f/ZVc/dl95zzYZySoAlU0bDoyFO+eD0fdjo2lwTWLP/OQwJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HELXOjWhgW7H13P+wX3uhvxp/HR8W74OcNcfZL1miiI=; b=PI7Unw+8yBFhp7eJSv1o2f0lEB8mWXeyqayyXcDvDUbuqMe3lGFpMJEuk6DvW5jXczDh+o2bkWWKlo7M/U38C8d7q2Yqb7aT7iW6Gf/T7rs/cCpirYAZyHEzwz4PG+yWqmqPDfV1XWyhxYIHsdcmUD0LKPD3Tfv+ej3EV8Pn49XpOm1haeqYo1UFa85zj8fQ9MmqGuNxYsWt1/g791ZXgH5yLtDoiwol0uR2Jj7dO5R1jblbK54NkbpGg9lL1bUMWm6R6sb8BXvbziQZ+PhlXzeH7pxuZS3RD1PLfthPs5zoAyjXrHO8106MB/e6B4atPfeiXtjCjzYYKjbKRYI/sQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HELXOjWhgW7H13P+wX3uhvxp/HR8W74OcNcfZL1miiI=; b=PYgH467RWKiOzW6bGiE4WuSLIRPFuwgc8+JNMsldD8zoNE8GV/U3qKmHc4cMoUJsT1fZ6+UOkB1CRRZZn95heVtqx0RR+vo+Ogx88iR7gxIAFjrP0LJMmDTpATj6u8jdn1GpunKHbGBt6hPHQIcs0sJl4AcY9W1yr0Vw9o1zfuKfSF9p6xgejJABZEvO+G3hmKJEV45RNezNk8W0yw/AjVB9mr5A8mMDR+Fp5bq8KnNa+x86HlSWdeYuWzzAGyUMOwoI1KkA9NpzBRWJ2fA59+XgjMGtuXrLw8s+xN87nSI25uMrY2KcZZ2fNOP/JV8oWh0v61zNyYSnKdi9auo9aA== Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by BY5PR03MB4997.namprd03.prod.outlook.com (2603:10b6:a03:1f2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.10; Thu, 8 Dec 2022 18:24:51 +0000 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::e016:84f7:daad:916e]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::e016:84f7:daad:916e%3]) with mapi id 15.20.5880.014; Thu, 8 Dec 2022 18:24:51 +0000 From: David Masterson To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Multiple versions of Org in load-path problem References: <87tu27jq7h.fsf@localhost> <87k032nyok.fsf@localhost> Date: Thu, 08 Dec 2022 10:24:49 -0800 In-Reply-To: <87k032nyok.fsf@localhost> (Ihor Radchenko's message of "Thu, 08 Dec 2022 07:26:35 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [9bFvSvmz8fs9zvUdBdUIMnleu05b5Q+yUTTKnyISFA++gef9pAxQciX33g1K1jb+] X-ClientProxiedBy: SJ0PR13CA0165.namprd13.prod.outlook.com (2603:10b6:a03:2c7::20) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87bkodhhxq.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|BY5PR03MB4997:EE_ X-MS-Office365-Filtering-Correlation-Id: ddf504a6-8e9b-490e-e1da-08dad9497eea X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l77KAs5WVL7GDms2r8mFu5NlR4U7AYZ+st5J1tL/YP2H7BJTDqPao+TwcyUfE54lNbcp36qyHrxF9ct/I6z3pPHPwBuV6GMe+SS/QXWtq+CqnwqCpQ7gsgdTsa5mD5gA2juy+5rppYESABgQOEN/k0eASYYwb+Cj7+Y0GBKNcUQY/xdWnEsk3MiAiYSy+Rs6RPHAA1UChobxoLPHB1GObLpP5eM9fVIXqX+ykYFYPVJvwZu1hF92jtiEHJz19lx3uTl8XzuyqJKDE21NtJBik0elLHiwCFQrALWBkvvnl3AdghQsv/arvS2o03W7RcZQD/OwVAkS70WzM3/Fd8kDWYe4OwJ1JBSzQIPYii/bqMRHZEFhvBoCIMZq1+b6QEQi4e9fcFoSVDYRIEgpfYx4vCnwqS1ZRYl4BLNsvqLy/vHO9O+8XpdCD7o2RyWW2PwBHkIuh44Xz8AaE842GpzTS2cnrdqtrCOKFjaFLqeQYzEgOukvAdgDQV2sywfs0skA16BeF81L68vVilyDkGiV1V2AnjnvlWNeJmDQfRBdTl69bx4euAZx3SzZupjMYqgbTQmh/62FOt35tLkeyg2prtpDRTh+M4XdG+2YOS0r9sKsHo/ZH5y4LUNtardERlPlE2hoJpC0IjtR8v6Nw0IP+g== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?y54NyDez+TXJiI2PinRqenrBtQ1k4NvLb7oxsdriHg1gzk8cDOSjgQuHhfZo?= =?us-ascii?Q?ltg7NvmgEco6t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n?= =?us-ascii?Q?NHTFX/keHw0lJZTcVdtuleBzc+daWWCmmFzChgoTojdopfcHMwiY2dJw09/u?= =?us-ascii?Q?KmhuIBnOdDi2YheZZ9k397+WgwfkDNosooEbjKUa70SLIa/dMlIHB9IWRb18?= =?us-ascii?Q?rOgRjaLZsqXgBeo1ttFRTFTWYE8/8y7N4tVHnPhbnjRkXXZklRhQIvlwBIaA?= =?us-ascii?Q?3tpSvLUEvsctdlz/3umg+41oanRyNhXrVYpHyJDRaxZRQFPKZ23oFvff9wEK?= =?us-ascii?Q?5/geg59nYmEpbAZT3HxyGrDk+xfjMW4gsZbJFf0xkfj+LXZkNycQIRaUyeih?= =?us-ascii?Q?CS0Y93kXMNF8SQ9M0qcIs8UbUEwauCczQ8v6rTR13gzaDZsGtO5j/fsVo4ta?= =?us-ascii?Q?ArgFXAmo7IMKpneNNhb451iitF+bQPgCxx3I23FVRSGlTI+SXNP98ALLwPIe?= =?us-ascii?Q?rkaey6UK0Rk/ygJrmhRz9oQFRYn6?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddf504a6-8e9b-490e-e1da-08dad9497eea X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 18:24:51.5121 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR03MB4997 Received-SPF: pass client-ip=2a01:111:f400:7e89::807; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.229, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670524254; 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=HELXOjWhgW7H13P+wX3uhvxp/HR8W74OcNcfZL1miiI=; b=Khy2xR1LVuEsfCqR3e7KetbSvHkYtBPOyZT0rKCmCAdcJya1V44rQ7zpi9jSgZ51vcciC+ 5mdsWnp2nEIFDEa9nsX8na8nG2xSJ9hqIpUwkH8+/bKRnM+4z3pBPt3mGOPpnLUQbXP5If 0o2Z30hsak65BWyYwQlcp4LkVF9qeoOyLDzOlN5wrLOA0l7x8BW4OEwgWakqlbkQ46iUxO /48oYeu2I4C1y72NxjDf+4dOGtdpmwbTBCf5qQJq3d2XqcHtG/foRzBGQP0eaubqy/h9PI NOImWejydEJRSrxsjJMh/GrvoieNuhofizqhFCdE5hLx5kGC2SuM+1nJQSHoOw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670524254; a=rsa-sha256; cv=pass; b=TvUUpLGu6hrn3ksp5u2yXsZcm/aF2YHhxo2u0643QL2B4fiGPak2CtLRybfM+3i/JFTM1b QAIlA1slIy67U8EsMlkgeMvkrqwUVZrcqw/useR7rQr9Irhrvd7l6Iy6n6M5X8WkPnKUh4 Qw94Ht8IVTrajg6YDSgVxk1/BityOyDBd6OrGrAZaYxVW00aO0iVavDdlGxOiOkkyNoxfg 6TsbWHjxEFKHPer8kTW42wqAvSWS5FO+B+rQLHw6ukAMOSL62Dsm89ftS5KUAVv7eKi5Jn /taZXFwmod0WrbZbJ3QVNr2DjkX3VmBz86WXqNXGoPcCJCOVgQ9a/FmPyYP2aw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=PYgH467R; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -0.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=PYgH467R; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: F35871496D X-Spam-Score: -0.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7boUdicuaOMd Ihor Radchenko writes: > David Masterson writes: > >> I went so far as to add the following to early-init.el: >> >> (if (featurep 'org) (unload-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. My testing says that, in early-init.el, Org is not yet a feature, so the built-in Org-9.3 is not yet loaded and the first 'if' fails. Adding the path for Org-9.6 should put it at the front of the load-path and (hopefully) override Org-9.3 if it is in the load-path (I think I checked that). The error in the load-library is, therefore, a problem with Org-9.6 installed by package-install. > I suggest you to read `org-assert-version'. It aims to catch the > situation above and similar. This is chicken and egg problem. I can't use 'org-assert-version' unless I can get Org to load. > 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. Good. I'm not used to bug reporting in Emacs, so I raised a question on use-package in emacs-devel@gnu.org, but they pointed me at your bug. I'll see if I can add anything there. -- David Masterson