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 18:16:56 +0000 Message-ID: References: <25989.50971.995591.385250@google.com> <87a5q0dc9m.fsf@localhost> <87edfbbyzm.fsf@localhost> <875y0n4px0.fsf@localhost> <87v88n3515.fsf@localhost> <87mstz34ec.fsf@localhost> <87jzp3344t.fsf@localhost> <87cyuv320s.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="12906"; 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 19:14:07 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 1rHSzG-0003Cv-R9 for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Dec 2023 19:14:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHSz2-0001te-9D; Sun, 24 Dec 2023 13:13:52 -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 1rHSyy-0001tA-K5 for emacs-devel@gnu.org; Sun, 24 Dec 2023 13:13:49 -0500 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHSyx-0007QF-3P for emacs-devel@gnu.org; Sun, 24 Dec 2023 13:13:48 -0500 Original-Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ccb78da44fso10721181fa.0 for ; Sun, 24 Dec 2023 10:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703441624; x=1704046424; 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=P/qk6CzbBJZrao8BasgWe3/NXDz4VriLdSz34VOzNIw=; b=CyMlBDJpy6OMqrgW+q+36fge4prZSrQn/Y6622xeelKD8RNI6JJNrJf8L8rJZZvMPD lUTTj3HCsKJClhgZDogzdUS3lc0hTaRFQNVDizdHg7RCCUY0MxWEDD6WgMcfmq3U6c96 +HhNumPJ/sqbjP8raGELQkMMvqc+tM/o6KQFEiGT0Ru2Esqp4iyz2WGc3xkZDvyBZMUh a7tNIxZ0Y78xIP2b0Ju3cUajm7daoB5Pac9BMAZ5E3ZrUxz7zIbKBhU9unkpvulkUUo/ x9LTgIYHMTtTWVKOYediHStEhSiI5UY8B62Y47TTdh/Tjz0FoFG6pn0RD+2XsXnWtDm5 rvgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703441624; x=1704046424; 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=P/qk6CzbBJZrao8BasgWe3/NXDz4VriLdSz34VOzNIw=; b=dGavvg3ou2ADOjDohT4QRm/wsYkeuqpUyCdbQS8wZ0h5XnQHAxU+LRTKiMeLtFiFsQ 6a42n5wRwuw1AD3uePHL/kqttfPiwvdcfAkjEAOUiqY8yTb8SUsFYdbMjyzFr0mkI2z7 FaDkhxE4rjl7LMVZDLCruPXZFG9W+TY9EOs77qFRz8WatfVhkgqt7aV2uHgkQAOTyHdh /yClCxipA6Y01xnJv23jQYq9VqSD8sn/pW98jHsc70O/p+wbscj1yZKpIGC5rRyHPTnj gmdGN6hANL18OOXWABO/Y+WEE/CxKxiKcDe5aQB8gIVvcx/AZtJXdsFmQjnAA+DWP7mB R8gA== X-Gm-Message-State: AOJu0Ywc51FYBp5/js3f1eEvegPAHf0TlWgG3UZzJdxwa5hLO/P6HKEH lw8FCLoqCay119jx42jqeSixk31hxIKdtvaCu5SKIZ4U9vU= X-Google-Smtp-Source: AGHT+IEEReXrYPM84j3hYhhO4H8z8+LYRNLcBM8REa8fzx0TQyufgTlQyY4Eji3/7sr3dtuaybXxMhEbRQ38QCES/U8= X-Received: by 2002:a2e:5cc9:0:b0:2cc:a5a3:cf50 with SMTP id q192-20020a2e5cc9000000b002cca5a3cf50mr2602645ljb.8.1703441623581; Sun, 24 Dec 2023 10:13:43 -0800 (PST) In-Reply-To: <87cyuv320s.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=joaotavora@gmail.com; helo=mail-lj1-x232.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:314167 Archived-At: On Sun, Dec 24, 2023 at 6:07=E2=80=AFPM Ihor Radchenko wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > The problem could for example be solved by variable-watching load-path > > carefully. > > org-assert-version is the best we came up with. > If you know a concrete idea how to solve it differently, feel free to > share it. This was a concrete idea. Your example showed load-path being modified and a subsequent require doing the wrong thing. Variable watchers are a thing, see "Watching variables" in the Elisp manual. Jo=C3=A3o