From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Permanently fix org versioning breakage during builds? Date: Sun, 24 Dec 2023 17:12:09 +0000 Message-ID: References: <25989.50971.995591.385250@google.com> <87a5q0dc9m.fsf@localhost> <87edfbbyzm.fsf@localhost> <875y0n4px0.fsf@localhost> <87v88n3515.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24009"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "T.V Raman" , emacs-devel To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 24 18:09:47 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rHRyz-00061q-Oo for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Dec 2023 18:09:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHRyJ-0005q6-5V; Sun, 24 Dec 2023 12:09:03 -0500 Original-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 1rHRyH-0005pv-FR for emacs-devel@gnu.org; Sun, 24 Dec 2023 12:09:01 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHRyF-0003FC-TK for emacs-devel@gnu.org; Sun, 24 Dec 2023 12:09:01 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50e73b068beso979643e87.1 for ; Sun, 24 Dec 2023 09:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703437737; x=1704042537; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4qaHjfys1yP566+DDsNG/u/fBl25Ap4PvnSOoztTpWc=; b=kanZJ3Q0R+YBAleVDAwsFcNZAIClYZqC6dSaUCFTF9hwfyD5Iba0O/+jf7epWmcx0D 3H8N9p9xATo94QBt2WntwG9gXv+bG1iomcfEjXy7hb1wwsvV0pnBTtXei4p48BpQraLL OE4ROrIzb0a2KQrej3ra9uDp89i8oAZdq3ABkybFOOoE/G67DNAIWnsT7A1I0Dj/n/e+ HUSVfNyuI1P62nVDhg27O5MHrnNvXUpjTncyznwFKS5VmBkObC8soO8puTO33PVnVJst Ml5TuWU+zEFYt52Ry/A3BlVNg9cv482EUWzgoJ1VmHGRJKo7Rg3zhZskGsKggh505eRg 9pmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703437737; x=1704042537; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4qaHjfys1yP566+DDsNG/u/fBl25Ap4PvnSOoztTpWc=; b=KwU3zVQ1h5500cH93HUWHBwRkvS1v7Y0Y1ZgX/dqSTPTmak7fwZ4Fz9cjDs8/Ryg8S k83I7tK1QwczLUQGZoo1h1tBDnSA+YaqeC+CmQqoiIZJ4MS3+jTLIyktluWjhAA55U36 V94fsujX9b2gg7pKZPKWb/ZSacdHDJz0VBNhRieYUcX5mPcN2dHPr5GTRouUGbFj+c39 f4/16RwzfxUZSmIg8tjk9U+GUU3najHg2AEzKZWuZoyNNmeih6moKuHDEbdbAQpfXJKP VpyFi1voyHFxtpLBv8V5exdB3iDZ2Ux8XfO1+XiUwN9LaznXcENMOPgQp8fXmHpY3jbc S+YA== X-Gm-Message-State: AOJu0Yxkg38L+cUv9zZZGc+ucmNNaBiAk5KFpnXzCDoel/aqrInKCSX4 /41LhQwNQ204uCrO/2xa9DYVGfKf5C0k0fjTQ7b/VPdf X-Google-Smtp-Source: AGHT+IGVIQoSqJq8jhNAkTX65hhMFSbGxL9h96p85yyLYc1f/akJtUcYGKlvHnaUVRcRnXN9AQrAsvavOZro155WOlA= X-Received: by 2002:a2e:a4d1:0:b0:2cc:8653:2890 with SMTP id p17-20020a2ea4d1000000b002cc86532890mr1840712ljm.96.1703437737213; Sun, 24 Dec 2023 09:08:57 -0800 (PST) In-Reply-To: <87v88n3515.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x135.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314151 Archived-At: On Sun, Dec 24, 2023 at 5:02=E2=80=AFPM Ihor Radchenko wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > OK, what thing does `org-assert-version` assert and what is one concret= e > > example of a breakage. Can this unexpected breakage exist if someone > > has never ever installed Org mode from ELPA? > > The assertion is (equal (org-release) ,(org-release)) - assert run-time > and compile-time versions of Org equal. OK. So AFAIU org-assert-version macro is itself a tool that you use to "check sanity" in the face of the maroexpansion-site recompilation problems posed by _other_ macros and their expansions. So it seems to follow that if _those_ problems cause by _other macros_ somehow were solved, then the org-assert-version macro wouldn't be needed, or at least wouldn't be needed for this job. > My statement about "the idea will not work" was referring to the > `org-assert-version' macro. If we wrap calls to `org-assert-version' > into a function, only the file defining that function will be used to > derive compile-time Org version. This is the "XY problem" situation. org-assert-version is solving a given problem, it's not useful to consider it as part of the problem itself. Jo=C3=A3o