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 yHq+CA0Qn2PMbQAAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 14:05:17 +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 ANVoCA0Qn2M7PQEAauVa8A (envelope-from ) for ; Sun, 18 Dec 2022 14:05:17 +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 D6A8E3C1FA for ; Sun, 18 Dec 2022 14:05:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6tL0-0001Tl-26; Sun, 18 Dec 2022 08:04:18 -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 1p6tKv-0001TS-Sd for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:04:15 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6tKt-0007JY-LX for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:04:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E18A6240029 for ; Sun, 18 Dec 2022 14:04:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671368649; bh=TkW4K7r2LAg5JBybe06xF8vvvOD/08niM7t1ol9PsGs=; h=From:To:Cc:Subject:Date:From; b=Bikg81BPV0kyqBoPspSo8fdvBlQNOFeFXJ7ETyGshfABPdq99lzSNHIo6U942o56S TtBKL1W++76ocn41VHQO0EmZNKGjfByftnV2cKMse2KXnrwF5DnEFS2bSZflz1/tZA cZZRaaFWb0n9xej/Tt+CLFWwURg/osyCVOYsiS4m57+7AzXg3eGQgfzD1ZRHrDU/lZ EDhCoPlugL2ur9iFeusddMhZ357wpZkEW4hyBLjt/uWjqdeJslxCTcnvY19tzhBjyQ 9Zkf9tWUg+gd1atLrGi4UxzgGZVS0YPe5Dppe5oggfuGlOAbx/QogKtbnS80gL61VB HeLep3K2ayqIw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NZjhn1kFqz6tnp; Sun, 18 Dec 2022 14:04:08 +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: Date: Sun, 18 Dec 2022 13:04:03 +0000 Message-ID: <878rj47tj0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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=Bikg81BP; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671368716; a=rsa-sha256; cv=none; b=fyDyw7IqeqqP1LZY2xkBvox3mmc7EiXSS0TK9CSvF/7ThF/E0j6/R+DBVjtpJFBx/RJGz2 eO6pQYtSipQD1U/unZvBK6bEKLh2lXDfgkBmJ9QY0MonVUVIBXIISWCZJAIdVb7n7XqZQ2 Qv/hvqKoynSDKwDihVAkOuTPdMXyY4/gS6+JhTlLlICe3Y68OOlbdMiS4Jl20fPEOA1xTh 2vc/FiQkAnaacrZmIQ3XoMZ8AwA0/eNWh8sgHDDkQ0Zv3V1iToxbXk8qGN9is1L0Md/n4u nxdIZ7RP7/LI9YRVYFy4RVIxuLn5R5/wYv26v/RFZA997WlbHNwkvGHPUVizfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671368716; 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=j5wvT1m5/k18KOItqlp52+j7+zHfl9dwtjp4Zw3YCC4=; b=bOcNIQDUnLLxXkAudQCOShdZz/nypw0WuCw+4mUt4jI/4akBDGkl2jQhi7DFiPiBGEVdet awI1EUuTK8eK4zKYGleyb107piyS34R6K40W4Sm8nXPOXmRYvaAb+p5Sm9gLiQpHg1ezGU EYXcTG4ogXQKFPMIzNDFvd8O2HaPI0azlmX7gmQNP/iimmlLsbOOrFWvYnOZrVn0iqAX/i rlHf2ewJoVTrZ3PHrmrayWz3W637AII5oIUnhIKnij/KjRnZWTc8mN4702y7u2WkP2tbJg nG+ed8V+gl95ykK2K9rN8d03H9RXM+UI31s4RG67mm87Zk117Kz4mq1oNZJXLA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Bikg81BP; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: D6A8E3C1FA X-TUID: nwbDVER8X2Hd Max Nikulin writes: > Is it possible to signal a fatal error during installing using emacs > machinery to prevent broken user configuration? My expectation that > result of failed compilation is ignored by emacs. > > It is possible to convert the error to a better one by checking if > `org-assert-version' is bound in org.el. We might do something like (eval-and-compile (org-assert-version)) > I think, the following topics are more suitable for emacs bug tracker or > devel mail list: > - how to compile packages to avoid issues with already loaded older > packages, > - what changes are required in package management to roll back failed > attempt of installing. Since you have a recipe to reproduce, could you please post it to Emacs debbugs? If we can clearly demonstrate the problem to Emacs devs, there is more chance that they can fix it. Ideally, in the coming Emacs 29 release. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at