From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IM0nMfY9KWShKAAASxT56A (envelope-from ) for ; Sun, 02 Apr 2023 10:33:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IFTTMPY9KWT9WwEAauVa8A (envelope-from ) for ; Sun, 02 Apr 2023 10:33:58 +0200 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 3F3221CE3C for ; Sun, 2 Apr 2023 10:33:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pit9G-0007xH-AB; Sun, 02 Apr 2023 04:33:14 -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 1pit9A-0007wz-PK for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 04:33:12 -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 1pit98-00078p-K5 for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 04:33:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 427DB2402D2 for ; Sun, 2 Apr 2023 10:33:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680424384; bh=bnfV8B8R+SOJuh2KYvATSutAhrofnW1yeI2J/qNn4fg=; h=From:To:Cc:Subject:Date:From; b=T1k+t7Sc2z5OXASR07vjyxxW4qR9c31WETpIEllDlKR0klCao0WsJlHa8EJU0SYDa SDE0CK8Jg8Xr1uxHNSnNvajsVG+4R4J9PQT/DRewVJFjdWQ168yGfQROsMQGigC5qg QIgNntZ+36X/XunpPsXJV5ySrlj/HZOvOrvAV23URnaJgy2ELPi+4a3tIgh1e0ZO5l hP8pNqjr58aDt7tRlRfsgzQ3TDV1itsftisll0C8tMSfwqlXoaNzoiOAg8tUT7+Kue 4flaIrAP4V0jklnLDNd0KNLuXDTnkWNADoBR8UWhuTvMSaSoXbwxDAPi0UHGZs+BiY 4aNxzEuJ47xDQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pq6jW2Lhyz6trm; Sun, 2 Apr 2023 10:33:03 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el In-Reply-To: References: <874juewk4k.fsf@kyleam.com> <87r0xi5jx7.fsf@gnu.org> <87o7obn0dp.fsf@localhost> <877cuzmreg.fsf@localhost> Date: Sun, 02 Apr 2023 08:35:12 +0000 Message-ID: <87mt3qn0lb.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, 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-Seal: i=1; s=key1; d=yhetil.org; t=1680424438; a=rsa-sha256; cv=none; b=MlZOLu5uj86dKReFHiu02/wuMj34AzNVpMS5ImtMUUdgGFzZx7AU3E+3CFAQZn+t73QRJT eHo/m+WSNyd/1mOOBQkn5RQxp7MtKklNLNKMTWw/EbyhKDnnTzUMCkdgLj4gwqNApeMnl2 BCmJESzey4C9ta1but6emf/IG0yIEad9gxd9gUd/ITH1jTgTk4wB29GlH9kgscX/9DNYay wEV3AyeH9LFxCNSCKRSi0Hf9eZrBTDT+ZkstfOZJyepQDJmq9erezMOS47RmzNl+gcyyQX ErjKse5NIk42YnXVrtAudX6yeKwW5ovBWMHI9/xJuu7XqaU+Gu0JtaXljIYJWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=T1k+t7Sc; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680424438; 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=Tqhk7itAslkcE7BceEJ0JO6A4ElPYu5nKBx3Cy/6Sik=; b=DNGq6IsWBLTnWjAVj4vxnf1d5AfWG0VFoBAO/iYIXqnGj+V5YBFmkK3gmFfZSpoc8KG4Xh KdKaoyIYxOyM6oZiAuTvz4gWn1t/kDrbkfPc4zOB0+CtGkA15DxmYBeqPvsK0wpw42VXKz slJS3Tph2uSbHLJJ0tVz028S5lV2rfxd1vGFjnLYw/HOMEL/lz+mIrDIOLp8Z/0q4KAUX5 6wYZaH3QvwuOFGERnMdeVsiiXiPkGRxToodlkI0HL/U6vm9t+rqUGEAMtL8GfCzyxwQZm5 NnGq8D7yqPIWe2Xm8JqBeEqyCheDjNtT3NTZX/H3kK3zCfxjymRYnBTSlUbL9Q== X-Migadu-Spam-Score: -4.74 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=T1k+t7Sc; 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-Spam-Score: -4.74 X-Migadu-Queue-Id: 3F3221CE3C X-TUID: etIOuurk7uMs Max Nikulin writes: >> I was able to reproduce on Debian using virtual machine. > > To be precise, I am surprised that you are unable to reproduce the issue > with older Emacs version compiled from source. Does it mean that you are able to? I only tried on Gentoo, because my Debian-foo is not good enough to hunt all the required compile-time dependencies for Emacs. >> https://old.reddit.com/r/orgmode/comments/123qnqq/workaround_for_orgassertversion_problem_not/ > > I have no clue why your patch should help in this case. It won't, but the very reason that message appeared is the need to do that awkward workaround. It must not be needed - we are causing way too much inconvenience to users of Emacs versions we claim to support. >>> I am in doubts if emacs version should be checked or it should be e.g. >>> (fboundp 'org-assert-version). >> >> It is indeed a cleaner approach. > > I am not sure. Perhaps it should be (or (fboundp 'org-assert-version) > (new-package-management-code)). Since testing for private function is > not a reliable solution, only version check is available. May you elaborate? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at