From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4BeJELSPkWMz4QAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 08:18:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KJqbELSPkWPQHAAAauVa8A (envelope-from ) for ; Thu, 08 Dec 2022 08:18:12 +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 C7E273A282 for ; Thu, 8 Dec 2022 08:18:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3B9W-00080x-33; Thu, 08 Dec 2022 02:17: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 1p3B9Q-0007zJ-QB for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:17:00 -0500 Received: from mail-mw2nam10olkn2058.outbound.protection.outlook.com ([40.92.42.58] 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 1p3B9O-00068s-NM for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:17:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DTwD+rOYTVsI2uRkRCiIkn0g+rqq8NpK5PRTvUDJi6xnIq2Mrr/WmjNTW9ZCsgo3UOhey6lgZR2wvUzwW8GQ1dUCxkgHj+thM8gsV0ViycXCIZ2kpwBZSeu3JS95EQXQpTOdooHknp1WIKgSfTxUwdNFwIRrN+bgpxnY3E3O17h9LNn5RLB4ep4736Ix2uuUqvUEPtm7+iZglxsdIIvak5nYmZH2wpOMnffXRdLr9+LEHJVcx1djBSICPp7RQGCKh2+XANosEffnzz/MdliS7eyfJVEklOVB2HeC6QzyUmb/lgcKKjYXaDfK1cCz6/gY9thro4dFAJSm0Job/iCHDw== 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=tKaCro+Cl0CsMhC8nwi0RNTEmGtNt91uHbJnALoTG84=; b=oM5Zxi4Mj2Clch55bJ6j1ZFzsBtB8iSLQRM2bAwmq0JtHPC7B1j3Ce/jd82TzkvrgoblqD+LN80RNuJN3RUIaSF/Yz4YJ0RqW3lf2Gif1AEyT1mMQVywBSMl6rrpxAkNmxlRa5OpjCqX2rLLn7+2FyG1yaUMft+a/EFLipjSwpLeefH3SdNjimosfAm66SoIDA323G7TDs7qkW3028wYSOqM1h3aTnBd2GcK5Bu1W/hG+pSjoVYJ0yVj4/2KsN7iNaQD/BFJeCBi00Q0xYNo9KDc3uu+0UtafMIqPhbaUYv+/6865/jb/Zcw7J2qza5Hg3ZNcHK7Yto4wvZ+/4BX8w== 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=tKaCro+Cl0CsMhC8nwi0RNTEmGtNt91uHbJnALoTG84=; b=DwKgGuwyzCRWApHPXrgYq/Cf1E22pwNvT+82hSWqTo6i2MXzhBoRy9la1N9+Xk05ex4GgckOSL0/pEpInX3OdmWmsqMHcUbPSb+h5JAFWjWSgb7pHj8FYipO5kWytaQNPTXWf/XSr1uCW9c8iyeS89taimzQZYUxVLMTsGs7YczIjKeZ0Jb8R+qYuRmxxm6yD+fpGn379uE07RItTiVvc+i43GA+mkWtTdGiYKNb60G3c5vjJOLPQNWR7GEcAOC3qAN3sd2PjcTKER6ozX/9iaeK3ABeUrUx06HOqscP2B6jD7N20NR38WvPagzhQ0CjR8S03tbu5AZ7CKCMLJrfiQ== Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by SJ0PR03MB5471.namprd03.prod.outlook.com (2603:10b6:a03:284::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Thu, 8 Dec 2022 07:16:55 +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 07:16:55 +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> Date: Wed, 07 Dec 2022 23:16:52 -0800 In-Reply-To: (David Masterson's message of "Wed, 07 Dec 2022 19:27:07 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [hDMvWdT44hxxr7d7tI1JEcpz4y2YnOwgrr7AXpX+rLHY58qAcaivHfhgHQmUBXRG] X-ClientProxiedBy: BYAPR05CA0055.namprd05.prod.outlook.com (2603:10b6:a03:74::32) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87o7se74bf.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|SJ0PR03MB5471:EE_ X-MS-Office365-Filtering-Correlation-Id: 19962d81-e09b-4d99-2ac3-08dad8ec2feb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AkSHd2copQtmqfZLieTaThHw9jWkk3iqGMAfdhHVB8/mt6a9CBWrfVTJH780W3dtjtE5J4+PjqQvkprA3hj1rOcIvKchzTbP/oYb6rHpL/Oo9AsbYZne5SNGwtnXcI4KL3nXBQ1vbHEQb+wG0/GWRP00Dq3e+fU72qF+6VrNvAkZ00nbKMDc/zZeInjqMG67FjtHZnHOs76pkSQaZQAkAjHVX5XjIayknQWTN3d7m+6KVJEIS6LiSkHUaAydFrNQL8ZvEUncPzOXhssOjJsSLtlAxGdvCuKHggpGqufifncNEDk/osGLZ4xkj7h0M8Gtda1x2hGJVUDXvHYrnBRus10ShCAd2CNxPneSMLBeMeMUbVdiBrss/MfVsX5cUKUDlPVyim+lHZRvjuwwS1MdNDuPEs+8NfQ5E/tPWMtBWHDGq7i9WEUxydAH1o6OKgfoxrofVUnAPwuS14CjGHVrwtdZ7z2Rznp4npprBCDcgOdgZOMZptzDiur3xUZh19qQoQFsfMmuEpa8WFKUDdGuTcmeEQ8Bohz+T8NMyzXm9tvSPtz4oLBklW2fXOYzcgsxwaAaXe/64d2bN+B4hM2fdZcIK1xgj9+HL6I9IAk/V9g22I6lSOV1ccm94YMSZYIBagjylA3K90FMk7R/jVL3rM0pTQDnPLshQvxcNDT886GZCOlw/rV29xGrtjOzXVT7 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GuCyHxbo1k7kzrkl0t8Da11GlM4coMc7DfWPgA8hQoZ01PEo0R04Z/fK4lR8?= =?us-ascii?Q?J8iwa6Y5OXL9c2JRY8ZF7sYBgX+IMd8T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E6l73JGR1Igab9ibqIJhWCsLA5AroaAkUuTp6L6EUs80EuecjAQZqXC?= =?us-ascii?Q?dYWHdXSNBm99ZkaeLdpD0cWYMjK77B82cgpcAtiBU+Ealp8PTPBN/i8Wj9J8?= =?us-ascii?Q?70goHiq0mbueHfFwh4S9NVVTAhpQrG1DDPmUCSPTKf+DKA9PVffFOYAdAFbH?= =?us-ascii?Q?AcFUlRjs/N62E+ndSR/AhUu20D3YJ61qh02psDNOzGPw9s2laO6ckd3/P54Y?= =?us-ascii?Q?Tfgxw1z72hvhL4wWXoE4dgtyBIuQeOqb3h1qffFQl8LUZjvfM8on/WIYDSPp?= =?us-ascii?Q?LXy3KGKdjTeTcEs+XwDu06I4x6gKrjcROeVoGpFFJx5zN7WjaUx5mF0HZFvL?= =?us-ascii?Q?py0WO6uRtKyeZ4AsUmt1T3SAacK40qT1C/3t8MlOpm+8xV+9Dat3DEYTgzig?= =?us-ascii?Q?LJumAUWT+vCyO2HJQi4UV/BXEAGb?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19962d81-e09b-4d99-2ac3-08dad8ec2feb X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 07:16:55.7762 (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: SJ0PR03MB5471 Received-SPF: pass client-ip=40.92.42.58; 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.21, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, 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=1670483892; 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=tKaCro+Cl0CsMhC8nwi0RNTEmGtNt91uHbJnALoTG84=; b=uLkJe4E6eP0JUNd2mCFu2P+KuRhOBAUDdaSE2pltmRM45/Mvp5oUeD4Vw+OpUBhI9S6Yo9 ROBSqldWdZKW7DukKnIZqkeq/Udm9/tZMspuGRBjJ8NCcA0iEchPppF6B58DsNLcz9injk NWBFYbbR56LRU4+fmuknEbKUlP7avyCpn2G/KT/PjKiPpDv/AgEzE0hk3Icl0GKTnuPRV2 cXnqdM+5TdapcYI9rZhs9rUOJpZplIXcZsXT8BXeFZ15vS3E0kTHL02tVrDRdn8okA6gJS nwf/LciEXncMNfqFQYWGcULEv1+dUyNprA0vyQQpwx1cBHMQRuEX9qFWIyT3tw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670483892; a=rsa-sha256; cv=pass; b=ne5Q+JKxCpoMkVHEPj3MvLc1IZ1UlBso25Imv9BTr3EgZdy/E5LJJM87wGrI0Rij19F8iA 7jHjOddIsx/bY+uzYzaxwM6Q74Y71l28blMSSlTfHij/0JP5m2PfxnTzOwYyftWfvrPK9X GLSKXG5cmwsd2nLeLYTM6z3AIaXPNBMS3Vsw/R+LEJKeZweulALc4XZ7EefSX3hQVW2G2A rufjqAEpI2lOMKIRFKxr37RoITyrpa44Dkp12WTD1F9trz9RPjcLuPt+xOq1qQKTUVPsyn MDTJZyPWN83oTFWY6Gn/MRCutDBXLG076B06x6FspY5m1CzYmApQdHYJwri3fA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=DwKgGuwy; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=DwKgGuwy; 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: C7E273A282 X-Spam-Score: 0.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 98H4PvCCP72i David Masterson writes: > Ihor Radchenko writes: > >> David Masterson writes: >> >>> Is there a proper way to do this? Do I really have to delete the >>> built-in 9.3 version (by hand or package-delete?) or will that mess up >>> something else? I saw mention of 'unload-feature' which is new to me -- >>> would that be safe to use? >> >> In theory, Emacs should handle such updates even when built-in Org is >> loaded. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59882 > > I'm going to test if (in my case) the buit-in 9.3 is already loaded when > my .emacs runs, I also have to see when 9.6 loads in my .emacs. > >> unload-feature is the last resort. We are still discussing the available >> options in https://orgmode.org/list/87k033h218.fsf@localhost. > > I have to play with the solution I suggested. I'm beginning to wonder > if it will cause other problems with (seeming) Org dependent packages. > In my case, the error I get is from various use-package calls -- > something like "Error: org-assert-version is not known". This is > confusing because I've arranged my .emacs as (almost) an alphabetical > loading of the packages and some of the use-package errors are coming > from packages loaded before Org. IOW, org-assert-version from 9.6 > shouldn't be loaded yet and 9.3 doesn't have org-assert-version. So > what's referring to org-assert-version? 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. 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... -- David Masterson