From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 NrcICK+QkWOH2AAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 08:22:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aIh3Bq+QkWMeMgAAG6o9tA (envelope-from ) for ; Thu, 08 Dec 2022 08:22:23 +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 899B029193 for ; Thu, 8 Dec 2022 08:22:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3BBx-0001vp-GD; Thu, 08 Dec 2022 02:19:37 -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 1p3BBo-0001oa-7f for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:19:29 -0500 Received: from mail-dm6nam11olkn2044.outbound.protection.outlook.com ([40.92.19.44] helo=NAM11-DM6-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 1p3BBk-00072s-9o for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 02:19:27 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cUmWmNYLbxUdhUCdHJitnokw9ZlR440gPH9MFHGipqnpt46Osw2Er0ZPeuIoT1GuOwidlc61v0YzOWoxKssbBIruE6LE5o786hYubtWSeXo+JDBpZr/4A7thDYQ7QphMZ3VPwcD1LCPcUM0jGO5hpd2f02AyL1E8+r5RnmrZj81R4NDSfr1elEQ7ZnzovUfEnh5RIfgojgVjW/XKkZGzx/TzR7XXae6rtSkT0f7W3MX7RUM0+DxQdLKf2y0NPUCN9xLLXReDVIP4A2SueJ9R/A147KUIn/DhjelIX+vuXlA3eSMZBddi/tiPL/9fheo/gMapgc4p/cGrmEIqVhKzRg== 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=Tzzm8JIC5editU2i923uBDoOz13JHGETMaeSH4g6KoY=; b=K/sq0cGwGd8VUwsU4aF2j/xswUMaNKLQb4B3bYZenMQ9nllHYHJt2Q3y1em2NkpDRrhiitT4gj9bT/SfoHTyKjILynJXDzG2+UEMXScUVU6qrMSF8JvEIro2awvQoZ5U9FoKpkoqnkJwyMjypY4qvRQsof9ZFAxfGI/MTy3NP/+xOqswiW0q6USogl7YpI6Dd01ZInCBgNJnpBz8zEWDqbRy8YzwBV7Uf0wjS/ayyeFTCufIWNcg5OJomZ8zhULXf0qdmQq7JJtvYIBpVXzahwkzDmASdb/TrxqRgDiU0L/ycsO7ZQcdyMIUeyf0lX9P27s5t8sBRRjdo+m3F6OtVw== 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=Tzzm8JIC5editU2i923uBDoOz13JHGETMaeSH4g6KoY=; b=Wgnm38DCBug+egBSwuuBKxWa4Om0kRldjB7IPePyi9rbYWpQv0GQiNyEjX4lMbDYU2PazQ75qRZoKcePcxB+6upO+KFxfEq7Xv7JFIXaY5Rmx+s8jkPT+TLU6Bj30IttBNns5bKHp3jGKMYyvAiiJDurMNn3vsMaTadPK7w5ZXe7GVWgOxajPXsIreelCq7SlqzDbeZq6jgaG+JrCyC+xImt+wlv3IDsS1Tz4eoged9s6b2Vri8O14oXYgngsLaOF53vtZsunZS51bwCW6m+IRiix5N7/MhU4x2Voz2a/kLENaYqHwd64lmRp5nFryCyFsVRqxwHqCZxwU9OnD0tqQ== Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by PH0PR03MB5718.namprd03.prod.outlook.com (2603:10b6:510:40::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.16; Thu, 8 Dec 2022 07:19:21 +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:19:21 +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> <87o7se74bf.fsf@penguin> Date: Wed, 07 Dec 2022 23:19:18 -0800 In-Reply-To: <87o7se74bf.fsf@penguin> (David Masterson's message of "Wed, 07 Dec 2022 23:16:52 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [sSagN22/5Vssj27NlZHY/AlszEAu2oAd7n/LbUVJvSH47ZwIOFwY2QVeXptGnDtn] X-ClientProxiedBy: BYAPR05CA0074.namprd05.prod.outlook.com (2603:10b6:a03:e0::15) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87k032747d.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|PH0PR03MB5718:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f032332-63e6-4b5a-ad38-08dad8ec870a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: emZ3svJAP9uPJ9P8E6q9382CM/83hq+tyHehVXYxu4PulOMCBoZukyx+K7VF9Xhiu34x4/lAOmNlvoxD5+oHf00t+hpIJZL81i6OKqbJ06MKtP9Zw+aVjtc8PnexCfKCImgLcKm5YKd5mG/ohC8uj8ck72vGhx+6BcgTtM1/4k+LzV0Oci3kykBDOP3ttHaFGMDEp1/LZaiRlJghkxYydy/fM8bfD5v6+OeeoAgvzmrhvviuHcS7gW7p2fnGGuPakPk8JJh/iVjXFHoc8x5b9+DGie7FCFJb5Vj11i7E2664eRk24GHv75ytJBOkN6+9o+THIBCAXtTdRbT1S4TkPnzgNqpEdIcQxrLLIWoZ2aTYQlaDpNlPrEAfxRW/amzUoDfpF9Nj7h7G/o7+FTdexO6vIKGEbFhq7DkKpxHZn7LsGQyRTUVP5NePth3cW0Hw8vw4AyavUrl3BF7DsftVddLot0B3FVAkw9mLR2X+FSSz+vrh67qMGA1RgAhwCoMGD+BegB4dEG9BvaYOFdGTuNvBSRI77qhECPkiIrpQU338iTrWBzCJsc4ArLgBlJ6PhVoWxK1JKnqix5bae6SYYYuGiaUrEXAEA++jA331itFfjahkNJGBKedEYDi2jivrAx82+EwWUEkUDIEgyqsQXUYUeNyie66zOs3XyBiPiGpRhn+x5WruFeOeM3FknmpQ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?qcXmbXcEetzCXj42Iwrdx1arxyE+DWNlNTY43QHykzF+nBwGlgBXQl6rU67o?= =?us-ascii?Q?N5X23BCG+8X1bjMcwV/XOn5SlA0JndVxgL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ascii?Q?XjagPlXHHEQicjcElQ/ztSrH8mnqW1XNQti1nRfnuU5BZSr41c/9psIMnWJR?= =?us-ascii?Q?/7cj3QoGo1E9QznLm9gyfdWXYFWbd9j0G/GtJByqV0dYa7HrAW0XtW6VnDuB?= =?us-ascii?Q?2fb1TXprZCNkDK5FZwkMXDjhFQoinbiEI2kKw2flXeI7MCYyZGihv9bi6A2l?= =?us-ascii?Q?UHviXbg2lo6q1eIFhViY3m5UnJCv9Vaxm3YGopF/8AJkmYpiRg0S8q3GxF81?= =?us-ascii?Q?JvYN5BiratX9W6+eQr33ayOVVlk2CEoo1E1aowmanOb41G39jAHPz9G2y2gz?= =?us-ascii?Q?Y1AvO/3q0DhKbaq7ZEf9iieFjk2G8Oeacse4CPISMIaSMVLIksoG/fBfL+X2?= =?us-ascii?Q?ROhzLYnd30Fu6ECJvkqVVYhLIWhFEpSbJJr3ltBr+dLYLch7TK5P2kZPF4yS?= =?us-ascii?Q?wz15gHdti8CCXXzk8PziOw7ouV6T?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f032332-63e6-4b5a-ad38-08dad8ec870a 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:19:21.8038 (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: PH0PR03MB5718 Received-SPF: pass client-ip=40.92.19.44; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-DM6-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, RCVD_IN_MSPIKE_H2=-0.001, 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=1670484142; 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=Tzzm8JIC5editU2i923uBDoOz13JHGETMaeSH4g6KoY=; b=BmLjyhCuYc23wBCYUKRgVE5p1jvigBy+HiWgKZdqNMmm8ZgddYWeH5q7bIUkZi94ml9pzc gpuR8VKnsNWC8QyJUYjeZdmzf/87t1fuICwx7NM41HFm156GR3cG1WphkFrsibWjD41qGG b0c8k0DKCpcCJpuEl9/S6laE3YRPf/PwyUjH50M/HpaRV0CY2Waceae3RESbL8O3P13Zzr yeAp2uuPGwYPNOZllV0afSSjmJ7+tHLt8ioXcER+kX8BSBr0oylLpMD8AU6vc2++BGgwQV AODEZ5HoXzqBUrcBpRcCGypxXqHFEGsq6FyA2YyrRwc0K8DOT6Fge+IfVD21aw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670484142; a=rsa-sha256; cv=pass; b=NtsovN0l+0CMuUXITRaYsqKRUJ+y1kt0VZBFjUjwJq8HjEht2TV7BIaFlMcbECoNtWXGvi /bGjCcfS5kaFGfXvC46OCIUPQ8NOPk8eHtxPOTKKhJsyxh6CLAq+V63ZkLLuSZIpMcMrnX Fo+7eTzr9VbgFmFWkG24IXShmlOmrMacnokpAv2RphSic2ORy4eELfEl5ssmBBcnGAA6Hq MCXoh5j82ktGVCqy4pK5Xnq/Dzh1mBXVRAIi0L3QjNAbByaxCIvGXtGE+1Qw6D8LoIR+Tz Kgw9VGXhaEDbDWmIfklLbPPyFMNZVwTbAWC0l9zjdxCem3ezmxszx17NeKeJLw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=Wgnm38DC; 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: -4.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=Wgnm38DC; 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: 899B029193 X-Spam-Score: -4.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: hRWwHyuDsbqS David Masterson writes: > 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)) typo -- unload-feature > (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