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 EL/IEjwjn2PZMgEAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 15:27:08 +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 oMXDEjwjn2Pj8QAA9RJhRA (envelope-from ) for ; Sun, 18 Dec 2022 15:27:08 +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 DE8323EA50 for ; Sun, 18 Dec 2022 15:27:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6ucj-00018M-C7; Sun, 18 Dec 2022 09:26:41 -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 1p6ucg-000189-8A for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 09:26:38 -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 1p6uce-0007Tu-9M for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 09:26:37 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 630CD240103 for ; Sun, 18 Dec 2022 15:26:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671373594; bh=Am6HLz4l5MP1XwvjnOR5Cbsw9J/fXr2L0OgtymJeprE=; h=From:To:Cc:Subject:Date:From; b=SKCkW6Z3ONdXMU6anFS1vcwdFE/w6OVTfZwybt22nhWG0caF1wQmo3bBYsZqUufJH LatSYDGbD7X/Kcxl2BKB3m4OHCEsPmFW+BPyTr4JwnVhGUE7hixT3vJu5gejdjpmi0 gyg02Kg1NswrflYrDfn/Fl6CEzKtVu2RqmiskkDD67I4oSYa+5e3g5pgPvkFCj1+r1 wm1/fy2h0rqrgvIKbogkVRTyJ4u35qh6kpsCCRVs/YUdzhHUZZ0YKp8mIjHUJxcs2C UBjpfgfITYKn33XzIEfSsQWUhKYSUrU3Ixirewy9PHHvih+awuFmRjFrcH0BTGF2mV vWRLvI0aTXJuQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NZlWs4wgzz6tmG; Sun, 18 Dec 2022 15:26:33 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Bug? org-assert-version does not prevent mixed install In-Reply-To: References: <878rj47tj0.fsf@localhost> Date: Sun, 18 Dec 2022 14:26:33 +0000 Message-ID: <87h6xs6b52.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: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SKCkW6Z3; 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=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671373628; a=rsa-sha256; cv=none; b=Ya7rBCvc+l5lKA2r1D5MUvX9TKg/PnsewdRtH69GqSnqOHWadAiKJZkS4p4jgahkdePLjt rucfs4brSb/WjxepK+bwy8eKmM6xL8cGnBSnOyUoZmmDi3cGZKfe3IIUrmxjwMjAEdm+30 EcR7suln3l/ftW+5s4JCDV742X3egHQUoQcu8zBUFP13BQS/YOALKfG6I01jUqFWCrShRb gaEJF7cBh8752Y6YpB0ijSmF1gApgb4RmaUXboiHvJ8+JIe+PUeTYDKy/PKf5fQ6ew6I7B sLsr59Lw0XUaB/coFTeq7cTi+HF/rLoGjK8PQx4OF2qszGoQikaNtMIVNDCaMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671373628; 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=vChBwI4fVoOmYsetip02cb4Jr6H62Vj8v/0t4iQI7ew=; b=XKT2pZVFmBp5K6JKGzJ/bnPg9lHlDRe+IqJ46zRUk8qG/kl0kBRpWZu0mzDX/0mWkLs4aj h2v48GtXWFGYIOm/Qqx4sRvWtviPkhqZP/pLQTOf2EOrpWVzyStyLzQ0QpgY5uwTsU7ir0 1vcTUOoTFV6RVEWv0kPtVl3wfiAdOINiXX4q8JicxAKXihSElXZ7/VQLyu5hLuKLdgIIv4 +QEAmqOpCGRHn7Ip2MkdCxcO2X+Sbbg08JX5gtvgTckFf3+bk3noWS2Ei57M08BLMroKVh a1mF2xc3upOjYcJm5GoGiyA2ilJj1jLOxSB7lBRlzmCYUCZRErZgwZqitlIq7Q== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SKCkW6Z3; 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=none) header.from=posteo.net X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: DE8323EA50 X-TUID: FTlM2OQp702a Max Nikulin writes: >> We might do something like >> >> (eval-and-compile (org-assert-version)) > > This will give obscure error during compiling since `org-assert-version' > is not defined. > > Unsure what will happen during load of the org.el file since org.elc is > not produced. Perhaps the same cryptic error, but I can not explain it. Yes, but we will at least abort the compilation this way. > My idea (unchecked) > > ;; Remove when support of Emacs-29 is dropped. > (unless (fboundp 'org-assert-version) > (error "Org is compiled or loaded while older version loaded already. > Please, ensure that no other org versions are loaded and recompile.")) I guess we can use the same error with what `org-assert-version' itself throws: (error "Org version mismatch. Make sure that correct `load-path' is set early in init.el") If you can, please check it. (AFAIU, you do have a setup where you can reproduce the installation problem) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at