From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iMyoDLg0n2P47QAAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 16:41:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cNeSDLg0n2NlcgEAauVa8A (envelope-from ) for ; Sun, 18 Dec 2022 16:41:44 +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 40008547 for ; Sun, 18 Dec 2022 16:41:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6vma-0004Nb-0u; Sun, 18 Dec 2022 10:40:56 -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 1p6vmX-0004NH-Fb for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 10:40:53 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6vmV-00040R-OM; Sun, 18 Dec 2022 10:40:53 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 824F2440F2F; Sun, 18 Dec 2022 10:40:49 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AB2434401BE; Sun, 18 Dec 2022 10:40:47 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1671378047; bh=86gF1hoBgjm8HufTIRe5F9ukXsOLjO18YHHelTvsBk8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=i7PZXJelGvuZpwwZLh2P57S9dZ8RiM7ciBWGm48bVrZ1EhqYhvrOi0OF7EgPAMku+ Gl3KtwMivrMnCywrXdVIvRzVS5+e7WNwZdR29e90LtqJzM7Sng8TpiUlnNZoJpf47P 5u21ZslnP/yv7/72RFsUqcc73Mf3Z4ulufqKe5Eh/jWQ/vioDlK530JOwU3TqZcBlQ HrbhDSG6Cauhc3uYTSGgs0y08LakaZfKhf7cFDAfVDmcjrMs7bfKYVGULdH0lOtk+7 cbD2spROsRJiai0hmL3mTHHalEhe9Jwa3iqfzigs4rytON+Et2vnFhf2AtjgMtiTnx mofyTHGp5WE4A== Received: from pastel (unknown [45.72.200.228]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7964B120D6D; Sun, 18 Dec 2022 10:40:47 -0500 (EST) From: Stefan Monnier To: Max Nikulin Cc: Ihor Radchenko , emacs-orgmode@gnu.org, Eli Zaretskii , 59882@debbugs.gnu.org Subject: Re: bug#59882: Multiple versions of Org in load-path problem In-Reply-To: <4b053e69-87d3-8323-8949-0546b4bb6c1a@gmail.com> (Max Nikulin's message of "Sun, 18 Dec 2022 22:24:24 +0700") Message-ID: References: <87tu27jq7h.fsf@localhost> <87k032nyok.fsf@localhost> <39a5810d-75bc-4ddb-8722-703f762ed4de@app.fastmail.com> <835yel11x8.fsf@gnu.org> <87edt2qpoa.fsf@localhost> <83359innsp.fsf@gnu.org> <87pmcmt8cc.fsf@localhost> <3bf2e057-4204-cdc8-0847-39a723db4fc8@gmail.com> <809ae318-fe95-1023-6bca-ba827fd01a29@gmail.com> <87fsdfs8vl.fsf@localhost> <4b053e69-87d3-8323-8949-0546b4bb6c1a@gmail.com> Date: Sun, 18 Dec 2022 10:40:39 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=i7PZXJel; 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=quarantine) header.from=iro.umontreal.ca ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671378104; a=rsa-sha256; cv=none; b=qj4xDxme80VZal9T/gifHYcTAU7qmmkWHgPniXD4c2vMvByTW7SAQPB43Kjz6tiaWEyqHt HKpkIks319sMDSMGFuZILAolwzMRODii/32Azt2rOjQHkb6A3aUnELbpxi09ojx5ZzEa9b ma9JvUr8wRDKeC2azg7OB5a/HaMK/YCk/PqwN5ihKmhknLZChNGkQxS84wOXorZLpUcAn4 J8+7a7QNQeBJkyFkhGcVXSVp/Fx1z7KYITUOVozentjPU1BiUOnwcCJxfvV3VU7UyGquwQ ncY6U6DxKTvDcPfJvcp3nszlXmYoi176e4pUVeZNHsiLyak4nMWVd0eXKk53dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671378104; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XT8mHBev58sy4IifiC9Zez6wUWmOzr0rJAxH8+1KjLw=; b=Milz1LCoBpvlvoteKr/8OAipI05FHV3VnxXB2gmkt6Qn8UxW0E/2Eg7QOUE+KmJcS3kmO/ KQJ1s/CB7FeFX6DNijDF67/wvjzS31mpwkQoqS4pBsPhsbQkuXL6PkuMx0zLEYk3c/gxaE a9pI89dmzzmgWYm5KQeD/Gts1OWIoky68g0NgLj34X9DdTGpNhcuhLYQbdA0HlbwPwicZ7 hrEtPXfXrq8e0oSZNK6ixIxWwVv/F9AJ/cEMe1tOm3np5lPboG45XbmfK1X9vBfFt05Tq5 H0gSqOMJk40IYXwrMT1Dd3g1CpKozj/L1MwxyM4BCTFpglvF14xAgZHSvxngCg== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=i7PZXJel; 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=quarantine) header.from=iro.umontreal.ca X-Migadu-Spam-Score: -9.26 X-Spam-Score: -9.26 X-Migadu-Queue-Id: 40008547 X-TUID: ow/M5ZsUuXhH > - "emacs -l org" to simulate a regular user session with some opened file= s. > - Update to Org-9.6 from ELPA. > - Close emacs and start it again "emacs -l org" > > Result: > byte-code: Invalid function: org-assert-version Hmm... there's code in `package.el` intended to avoid that problem, but clearly it's failing here. Could Someone=E2=84=A2 investigate why that code doesn't do its job. The code in question is in `package--reload-previously-loaded` and my understanding is that it should cause `org-macs` to be reloaded from the Org-9.6 version of the code before the new code gets compiled, and that new version does define the `org-assert-version` version, so those macro calls should then be compiled correctly. [ The approach used in `package--reload-previously-loaded` has its weaknesses, but AFAIK it *should* be able to avoid the above error. ] Stefan