From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 uNndDURzY2P7TgEAbAwnHQ (envelope-from ) for ; Thu, 03 Nov 2022 08:52:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UMbqDURzY2M77gAA9RJhRA (envelope-from ) for ; Thu, 03 Nov 2022 08:52:36 +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 EA96D2AB79 for ; Thu, 3 Nov 2022 08:52:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqV0V-0001nO-56; Thu, 03 Nov 2022 03:51:23 -0400 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 1oqV0T-0001mI-9N for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 03:51:21 -0400 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 1oqV0L-00042K-35 for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 03:51:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E375A240026 for ; Thu, 3 Nov 2022 08:51:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667461870; bh=FdgUvjdkV+p5/ANQScl355XxBsuyRmVlq2nHxdk90fE=; h=From:To:Cc:Subject:Date:From; b=hnViKJod+Vok44S7EKnLU0aBqWQuNJ7Cf4PCj839WW49FpV4qAUlUNhioGAe5crKM UOceJc83ZsFPNy0gE1XlQYl4ruww8PVEDSzeE93HHC7oFQkgPHfYOFbIVAv89/q/ta Vf1dU/pYKc8H/HIkSjL8eBaal2u0uYw8QSEF5lQhiqZaAy+pzEbuRCDPc1X/tMIs1y sxKBTf/4PKOBTIgza+R4mgsj9gYNiZkq4aJlrAHQ6MPTWCeyvhGKvp4NmnYJBb0TNi slFomqIw6u0usHcGUqpVjq8J1eeSxzJjlXte3SOBQnRnBWlFsLduNZM5SdDltNIGqb TR/60n0df7prQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N2wtP22csz6tpH; Thu, 3 Nov 2022 08:51:08 +0100 (CET) From: Ihor Radchenko To: "Cook, Malcolm" Cc: 'Bastien' , Ihor Radchenko , Stefan Monnier , "emacs-orgmode@gnu.org" Subject: RE: org-assert-version considered harmful In-Reply-To: References: <875yhsujkq.fsf@localhost> <87h71ct10n.fsf@localhost> <87tu5bbajh.fsf@localhost> <87r10ey8ov.fsf@localhost> <87o7v4dvon.fsf@gnu.org> <87pmfijrvw.fsf@localhost> <87y1u4ec18.fsf@gnu.org> <871qqnjjdw.fsf@localhost> Date: Thu, 03 Nov 2022 07:51:50 +0000 Message-ID: <87zgd85vc9.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667461956; 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=oIVfCfvsWDtoZH1+KUNsjcLiBX+hIpcMQJr3MX1P8PA=; b=ELOKjPH4gVTAA+kqkCeU6MhLP7Oj3KJFeVZkuHB2ZMXxmhjluSU+rLT0qpb89NrPhWXvof uyw5xP7FNKgVwC97F2XLqxA7/dgKixoUAInb/MGa/+ydQNe/NJBtYJrRsPfehD3DxTSHCk Anmdb4g7CfgNqlVDG99kVdXxdd7jqCDxcuMd3OpgV+7VZOaYuP6nBxNmEOpuddwOClyMqe jXeYzffv65PyCfmZp2yX5jwjO4tV9dantI1fYUwbS/XbraENVxW1XAN9MxnjRxD9tcX5IT CQYL2rslh114mK3KPSs6rjC/nSSsE+gRCLnUpDg7Mz8zvKEFRv/H8zzLOCvp4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667461956; a=rsa-sha256; cv=none; b=hLKw5vpXwIaw5mPjFGMIkU2NBJRwLUY7IS0opMdnj8G93fZUydFK7Ar9pqBjQHZk+MOeV1 MEt8ejS6BSAk9IMwBTb2z1jJEgDQNoX/gieiion9EiBi6lC7X1jQMpIFVbzEdHvNi0o0tg fSORd8ZzOqcHJN6oBKFDshfb7dSAJtoqYZFo0hQKmov9SLuHrqgn/mij1/VkQPMgNBO+S6 yRCC1LvlW5CoNzyB0HzAk70L20mKGVJIvijQXmzkE2WNZaBWvbEdk2zeMvcfW2pWzyDaRi Sx89k6STl1HDRM7koYrWHy/gDj7dkv2XbAC5rz81LrU3SjRSXsu3SShzi+ziiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hnViKJod; 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-Spam-Score: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hnViKJod; 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-Queue-Id: EA96D2AB79 X-Spam-Score: -3.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3w76Y29zS/gk "Cook, Malcolm" writes: >> It should not be necessary and it does not happen on my side (as you can >> imagine, I re-compile very often). > > Perhap's my issue stems from the particular versions of org I was upgrading between and/or (earlier) poor management of multiple contending org versions (e.g. git head v. melpa v. system). That might be possible. Because Emacs does not properly update macro definitions in the already compiled files. See https://orgmode.org/list/jwvsfkv5s7l.fsf-monnier+emacs@gnu.org However, the current, more forgiving, version of org-assert-version should only complain when upgrading to different Org version. make clean is a good measure even during normal upgrades though. Because of the Emacs limitation. > ``` > cd ~/.emacs.d/org-mode && git pull && make clean && make autoloads && make PERL5LIB= > ``` > > And then relaunch emacs, where it gets picked up due to: > > ``` > (use-package org ;org-plus-contrib ; instead of org-mode > :pin manual > :load-path "~/.emacs.d/org-mode/lisp" > ... > ) > ``` > > ... which occurs very early in my init file (just after bootstrapping package system and latest use-package). > > So, I've got (again) a working strategy. > > I'm really wondering if all this is needlessly complex. The above should be safe. Whatever straight.el does also work for me as long as I put Org loading early in my init.el. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at